File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
nestjs-BE/server/src/invite-codes Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ export class InviteCodesController {
3030 status : HttpStatus . BAD_REQUEST ,
3131 description : 'Space code input is missing.' ,
3232 } )
33+ @ApiResponse ( {
34+ status : HttpStatus . UNAUTHORIZED ,
35+ description : 'need access token' ,
36+ } )
3337 @ApiResponse ( {
3438 status : HttpStatus . NOT_FOUND ,
3539 description : 'Space not found.' ,
@@ -50,6 +54,10 @@ export class InviteCodesController {
5054 status : HttpStatus . OK ,
5155 description : 'Returns a space associated with the invite code.' ,
5256 } )
57+ @ApiResponse ( {
58+ status : HttpStatus . UNAUTHORIZED ,
59+ description : 'need access token' ,
60+ } )
5361 @ApiResponse ( {
5462 status : HttpStatus . NOT_FOUND ,
5563 description : 'Invite code not found.' ,
You can’t perform that action at this time.
0 commit comments