fix: protect endpoints
This commit is contained in:
parent
93840f4c8c
commit
097e2df4fb
1 changed files with 1 additions and 0 deletions
|
|
@ -797,6 +797,7 @@ export class BranchController extends Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Put("{branchId}/bank-qr/{bankId}")
|
@Put("{branchId}/bank-qr/{bankId}")
|
||||||
|
@Security("keycloak", MANAGE_ROLES.concat("admin", "branch_manager"))
|
||||||
async setBankQRByBranchIdAndBankId(
|
async setBankQRByBranchIdAndBankId(
|
||||||
@Request() req: RequestWithUser,
|
@Request() req: RequestWithUser,
|
||||||
@Path() branchId: string,
|
@Path() branchId: string,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue