1
0
Fork 1
mirror of https://example.com synced 2024-11-24 06:56:41 +09:00

Merge pull request 'Fix: email validation' (#9984) from s1idewhist1e/calckey:issue/9268 into develop

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9984
This commit is contained in:
Kainoa Kanter 2023-05-01 19:37:56 +00:00
commit 9722b7bafe

View file

@ -55,7 +55,7 @@ export default async (ctx: Koa.Context) => {
return;
}
const available = await validateEmailForAccount(emailAddress);
const { available } = await validateEmailForAccount(emailAddress);
if (!available) {
ctx.status = 400;
return;