Skip to content

Commit

Permalink
[SELS-TASK-27] [BE]-Enable Authguards for the Edit A Category endpoin…
Browse files Browse the repository at this point in the history
…t v.2
  • Loading branch information
Fontilllas committed Jan 24, 2024
1 parent 6a49575 commit 8b89539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/categories/categories.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class CategoriesController {
choices: body.choices,
});
}
@UseGuards(AuthGuard)
@UseGuards(AuthGuard)
@Put('admin/category/:category_id/edit')
async editCategory(
@Param('category_id') category_id: number,
Expand Down

0 comments on commit 8b89539

Please sign in to comment.