fix: wrong endpoint
This commit is contained in:
parent
989ce577de
commit
495c16ad42
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ const useBranchStore = defineStore('api-branch', () => {
|
|||
}
|
||||
|
||||
async function getAdmin(branchId: string | string[]) {
|
||||
const res = await api.get<User>(`/branch/${branchId}/admin`, {
|
||||
const res = await api.get<User>(`/branch/${branchId}/manager`, {
|
||||
headers: { 'X-Rtid': flowStore.rtid },
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue