save and update branding

This commit is contained in:
Fred KISSIE
2025-11-13 02:18:52 +01:00
parent d218a4bbc3
commit 02cd2cfb17
6 changed files with 166 additions and 39 deletions

View File

@@ -143,7 +143,7 @@ export async function upsertLoginPageBranding(
message: existingLoginPageBranding
? "Login page branding updated successfully"
: "Login page branding created successfully",
status: HttpCode.CREATED
status: existingLoginPageBranding ? HttpCode.OK : HttpCode.CREATED
});
} catch (error) {
logger.error(error);