feat: remove admin security from category listing.
This commit is contained in:
parent
dec0fc5da0
commit
d97569acbc
1 changed files with 0 additions and 1 deletions
|
|
@ -9,7 +9,6 @@ export class CategoriesController extends Controller {
|
||||||
private categoryService = new CategoryService();
|
private categoryService = new CategoryService();
|
||||||
|
|
||||||
@Get()
|
@Get()
|
||||||
@Security('jwt', ['admin'])
|
|
||||||
@SuccessResponse('200', 'Categories fetched successfully')
|
@SuccessResponse('200', 'Categories fetched successfully')
|
||||||
@Response('401', 'Invalid or expired token')
|
@Response('401', 'Invalid or expired token')
|
||||||
public async listCategories(): Promise<listCategoriesResponse> {
|
public async listCategories(): Promise<listCategoriesResponse> {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue