Skip to content

Commit

Permalink
fix: /oauth/token 201 -> 200
Browse files Browse the repository at this point in the history
  • Loading branch information
2paperstar committed May 14, 2024
1 parent 093cc2c commit 64d0aaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/oauth/oauth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import {
Body,
Controller,
Get,
HttpCode,
HttpStatus,
Post,
UseGuards,
UseInterceptors,
Expand Down Expand Up @@ -67,6 +69,7 @@ export class OauthController {
@ApiUnauthorizedResponse({ description: 'Unauthorized' })
@ApiForbiddenResponse({ description: 'Forbidden' })
@ApiBasicAuth('client-auth')
@HttpCode(HttpStatus.OK)
@Post('token')
@UseGuards(ClientOptionalGuard)
async token(
Expand Down

0 comments on commit 64d0aaa

Please sign in to comment.