Skip to content

Commit

Permalink
fix: added auth Use guard
Browse files Browse the repository at this point in the history
Signed-off-by: tipusinghaw <[email protected]>
  • Loading branch information
tipusinghaw committed Oct 30, 2023
1 parent 7babe0e commit 61497ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/api-gateway/src/ecosystem/ecosystem.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ export class EcosystemController {
@Get('/:ecosystemId/schema')
@ApiOperation({ summary: 'Get all ecosystem schema', description: 'Get all ecosystem schema' })
@ApiResponse({ status: 200, description: 'Success', type: ApiResponseDto })
// @UseGuards(AuthGuard('jwt'), EcosystemRolesGuard, OrgRolesGuard)
// @ApiBearerAuth()
@UseGuards(AuthGuard('jwt'), EcosystemRolesGuard, OrgRolesGuard)
@ApiBearerAuth()
@EcosystemsRoles(EcosystemRoles.ECOSYSTEM_OWNER, EcosystemRoles.ECOSYSTEM_LEAD, EcosystemRoles.ECOSYSTEM_MEMBER)
@Roles(OrgRoles.OWNER, OrgRoles.ADMIN, OrgRoles.ISSUER, OrgRoles.VERIFIER, OrgRoles.MEMBER)
@ApiQuery({
Expand Down

0 comments on commit 61497ee

Please sign in to comment.