Skip to content

Commit b735e7c

Browse files
Fix #2314
1 parent 5f85c3b commit b735e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/private/routers/loginPage/upsertLoginPageBranding.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export async function upsertLoginPageBranding(
7878
next: NextFunction
7979
): Promise<any> {
8080
try {
81-
const parsedBody = bodySchema.safeParse(req.body);
81+
const parsedBody = await bodySchema.safeParseAsync(req.body);
8282
if (!parsedBody.success) {
8383
return next(
8484
createHttpError(

0 commit comments

Comments
 (0)