We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f85c3b commit b735e7cCopy full SHA for b735e7c
server/private/routers/loginPage/upsertLoginPageBranding.ts
@@ -78,7 +78,7 @@ export async function upsertLoginPageBranding(
78
next: NextFunction
79
): Promise<any> {
80
try {
81
- const parsedBody = bodySchema.safeParse(req.body);
+ const parsedBody = await bodySchema.safeParseAsync(req.body);
82
if (!parsedBody.success) {
83
return next(
84
createHttpError(
0 commit comments