Skip to content

Commit

Permalink
fix(users): search에서 authvalidate의 roleset을 service로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
nyj001012 committed Feb 13, 2024
1 parent c046951 commit 4401215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/v1/routes/users.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ export const router = Router();
* example: []
*/
router
.get('/search', getRateLimiter, authValidate(roleSet.librarian), search)
.get('/search', getRateLimiter, authValidate(roleSet.service), search)
.post('/create', create)
.patch('/update/:id', cudRateLimiter, authValidate(roleSet.librarian), update)
.patch('/myupdate', cudRateLimiter, authValidate(roleSet.all), myupdate)
Expand Down

0 comments on commit 4401215

Please sign in to comment.