* use lower case db column names
* fix signup workspaceId
This commit is contained in:
Philipinho
2024-03-29 16:25:42 +00:00
parent 82da4ffdc2
commit b241523ff6
25 changed files with 248 additions and 407 deletions

View File

@ -56,7 +56,6 @@ export class WorkspaceService {
name: createWorkspaceDto.name,
hostname: createWorkspaceDto.hostname,
description: createWorkspaceDto.description,
creatorId: user.id,
},
trx,
);
@ -77,9 +76,10 @@ export class WorkspaceService {
})
.execute();
// add user to default group
await this.groupUserService.addUserToDefaultGroup(
// add user to default group created above
await this.groupUserService.addUserToGroup(
user.id,
group.id,
workspace.id,
trx,
);