fix email validation

This commit is contained in:
s1idewhist1e 2023-04-30 22:50:43 -07:00
parent 34a6e1caa4
commit 8d1251b977
No known key found for this signature in database
GPG Key ID: 75E83831162775BB
1 changed files with 1 additions and 1 deletions

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;