Fix: "Adding email to profile ends in error" (#8405)

This commit is contained in:
dogcraft 2022-03-14 21:57:55 +08:00 committed by GitHub
parent b81b66912d
commit c0bf7cd871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
import validateEmail from 'deep-email-validator'; import { validate as validateEmail } from 'deep-email-validator';
import { UserProfiles } from '@/models/index.js'; import { UserProfiles } from '@/models/index.js';
export async function validateEmailForAccount(emailAddress: string): Promise<{ export async function validateEmailForAccount(emailAddress: string): Promise<{