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 ac29e10440
commit b73ceaa4d2

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';
export async function validateEmailForAccount(emailAddress: string): Promise<{