feat: reorder Security decorator in announcements controller for consistency.
This commit is contained in:
parent
67b7de7cd2
commit
dd5a8c1cc8
1 changed files with 1 additions and 1 deletions
|
|
@ -26,10 +26,10 @@ export class AnnouncementsController {
|
|||
* @param limit - จำนวนต่อหน้า / Items per page
|
||||
*/
|
||||
@Get()
|
||||
@Security('jwt')
|
||||
@SuccessResponse('200', 'Announcements retrieved successfully')
|
||||
@Response('401', 'Unauthorized')
|
||||
@Response('403', 'Forbidden')
|
||||
@Security('jwt')
|
||||
public async listAnnouncements(
|
||||
@Request() request: any,
|
||||
@Path() courseId: number,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue