From 5d6604491e22ff6ca61bb3780de5a33f9588b1e6 Mon Sep 17 00:00:00 2001 From: Anand Chowdhary Date: Mon, 11 Jan 2021 18:00:49 +0530 Subject: [PATCH] :recycle: Update scope for writing membership --- src/modules/memberships/memberships-user.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/memberships/memberships-user.controller.ts b/src/modules/memberships/memberships-user.controller.ts index 4994be3d5..b0dbf027a 100644 --- a/src/modules/memberships/memberships-user.controller.ts +++ b/src/modules/memberships/memberships-user.controller.ts @@ -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,