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,
|
this.db,
|
||||||
async (trx) => {
|
async (trx) => {
|
||||||
// create user
|
// create user
|
||||||
|
|
||||||
const user = await this.userRepo.insertUser(
|
const user = await this.userRepo.insertUser(
|
||||||
{
|
{
|
||||||
...createAdminUserDto,
|
name: createAdminUserDto.name,
|
||||||
|
email: createAdminUserDto.name,
|
||||||
|
password: createAdminUserDto.password,
|
||||||
role: UserRole.OWNER,
|
role: UserRole.OWNER,
|
||||||
emailVerifiedAt: new Date(),
|
emailVerifiedAt: new Date(),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue