Skip to content

Commit 3248f0a

Browse files
committed
hotfix replace
1 parent ffdf954 commit 3248f0a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

dist/user/user.controller.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/user/user.controller.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/user/user.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export class UserController {
208208
}
209209

210210
@Get("managers")
211-
// @UseGuards(AuthGuard("jwt"))
211+
@Roles("admin")
212212
getAllManagers(@CurrentUser() user: User, @Query('userEmail') userEmail: string) {
213213
const { organization } = user;
214214
return this.userService.getAllManagers(organization, userEmail);

0 commit comments

Comments
 (0)