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