fix: wrong endpoint
This commit is contained in:
parent
e367fca56e
commit
7f4103c92c
1 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ async function userBranchCodeGen(branch: Branch, user: User[]) {
|
|||
);
|
||||
}
|
||||
|
||||
@Route("api/v1/branch/{branchId}/admin")
|
||||
@Route("api/v1/branch/{branchId}/manager")
|
||||
@Tags("Branch User")
|
||||
export class BranchAdminUserController extends Controller {
|
||||
@Get()
|
||||
|
|
@ -69,7 +69,7 @@ export class BranchAdminUserController extends Controller {
|
|||
branch: {
|
||||
some: { branchId },
|
||||
},
|
||||
userRole: "branch_admin",
|
||||
userRole: "branch_manager",
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue