This commit is contained in:
Philipinho
2024-06-22 22:13:22 +01:00
parent 81be99b404
commit 562abb0413
14 changed files with 54 additions and 146 deletions

View File

@ -78,7 +78,11 @@ export class SignupService {
// create user
const user = await this.userRepo.insertUser(
{ ...createAdminUserDto, role: UserRole.OWNER },
{
...createAdminUserDto,
role: UserRole.OWNER,
emailVerifiedAt: new Date(),
},
trx,
);