Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
♻️ Update scope for writing membership
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Jan 11, 2021
1 parent 9b3629c commit 5d66044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/memberships/memberships-user.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class UserMembershipController {
constructor(private membershipsService: MembershipsService) {}

@Post()
@Scopes('user-{userId}:write-membership')
@Scopes('user-{userId}:write-membership-*')
async create(
@Param('userId', ParseIntPipe) userId: number,
@Body() data: CreateGroupDto,
Expand Down

0 comments on commit 5d66044

Please sign in to comment.