refactor: remove unused role
This commit is contained in:
parent
c5600add96
commit
0c80d8fbdb
10 changed files with 11 additions and 62 deletions
|
|
@ -724,7 +724,7 @@ export class UserController extends Controller {
|
|||
}
|
||||
|
||||
@Put("{userId}/image")
|
||||
@Security("keycloak", ["system", "head_of_admin", "admin", "branch_admin", "branch_manager"])
|
||||
@Security("keycloak", ["system", "head_of_admin", "admin", "branch_manager"])
|
||||
async setUserImageByUserId(@Request() req: RequestWithUser, @Path() userId: string) {
|
||||
const record = await prisma.user.findFirst({
|
||||
include: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue