Skip to content

Commit

Permalink
Fix Group Assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Oct 5, 2023
1 parent 8ad861a commit 53f726f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/db/models/Project.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ export class ProjectModel {

await UserModel.createGroups({ name: _id }, context);

context.user['curr_project'] = _id;

await UserModel.update({
username: context.user['cognito:username'],
roles: ['manager']
Expand Down

0 comments on commit 53f726f

Please sign in to comment.