From b735e7c34d71b1f57a7f4311f2c3dfe37842eecc Mon Sep 17 00:00:00 2001 From: Owen Date: Sat, 24 Jan 2026 11:47:17 -0800 Subject: [PATCH] Fix #2314 --- server/private/routers/loginPage/upsertLoginPageBranding.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/private/routers/loginPage/upsertLoginPageBranding.ts b/server/private/routers/loginPage/upsertLoginPageBranding.ts index 146f0721..8782db3d 100644 --- a/server/private/routers/loginPage/upsertLoginPageBranding.ts +++ b/server/private/routers/loginPage/upsertLoginPageBranding.ts @@ -78,7 +78,7 @@ export async function upsertLoginPageBranding( next: NextFunction ): Promise { try { - const parsedBody = bodySchema.safeParse(req.body); + const parsedBody = await bodySchema.safeParseAsync(req.body); if (!parsedBody.success) { return next( createHttpError(