mirror of
https://example.com
synced 2024-11-24 06:56:41 +09:00
fix email validation
This commit is contained in:
parent
34a6e1caa4
commit
8d1251b977
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue