fix: wrong endpoint

This commit is contained in:
Methapon Metanipat 2024-08-30 09:47:04 +07:00
parent 989ce577de
commit 495c16ad42

View file

@ -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 },
});