Skip to content

Commit

Permalink
Merge pull request #237 from xeptagondev/API_DEV
Browse files Browse the repository at this point in the history
Api key for query
  • Loading branch information
palindaa authored Sep 15, 2023
2 parents ba6b304 + e3bb87d commit d4b1fd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/services/src/national-api/programme.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export class ProgrammeController {
}

@ApiBearerAuth()
@ApiBearerAuth('api_key')
@UseGuards(ApiKeyJwtAuthGuard, PoliciesGuardEx(true, Action.Read, Programme, true))
// @UseGuards(JwtAuthGuard, PoliciesGuardEx(true, Action.Read, User, true))
@Post('query')
Expand Down

0 comments on commit d4b1fd8

Please sign in to comment.