fix workspace setup
This commit is contained in:
parent
040d6625df
commit
7121771f92
1 changed files with 3 additions and 2 deletions
|
|
@ -76,10 +76,11 @@ export class SignupService {
|
|||
this.db,
|
||||
async (trx) => {
|
||||
// create user
|
||||
|
||||
const user = await this.userRepo.insertUser(
|
||||
{
|
||||
...createAdminUserDto,
|
||||
name: createAdminUserDto.name,
|
||||
email: createAdminUserDto.name,
|
||||
password: createAdminUserDto.password,
|
||||
role: UserRole.OWNER,
|
||||
emailVerifiedAt: new Date(),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue