diff --git a/backend/src/v1/routes/users.routes.ts b/backend/src/v1/routes/users.routes.ts index 1ab9c82a..409d215a 100644 --- a/backend/src/v1/routes/users.routes.ts +++ b/backend/src/v1/routes/users.routes.ts @@ -410,7 +410,7 @@ router .post('/create', create) .patch('/update/:id', authValidate(roleSet.librarian), update) .patch('/myupdate', authValidate(roleSet.all), myupdate) - .get('/me', authValidate(roleSet.service), mydata) + .get('/me', authValidate(roleSet.all), mydata) .get('/EasterEgg', getVersion); // .delete('/delete/:id', authValidate(roleSet.librarian), deleteUser);