diff --git a/src/repositories/projectVerificationRepository.ts b/src/repositories/projectVerificationRepository.ts index 7324b22e8..aef5510e0 100644 --- a/src/repositories/projectVerificationRepository.ts +++ b/src/repositories/projectVerificationRepository.ts @@ -27,6 +27,10 @@ export const createProjectVerificationForm = async (params: { return ProjectVerificationForm.create({ project, user, + // This has been added becasue we are now doing verification of the email on user profile and not on project verification form + email: user?.email ?? '', + emailConfirmed: true, + emailConfirmedAt: new Date(), } as ProjectVerificationForm).save(); };