mirror of
https://github.com/docmost/docmost.git
synced 2025-11-14 23:41:10 +10:00
fix workspace setup
This commit is contained in:
@ -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(),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user