From 495c16ad42091e2130227550238d567e87d848fa Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Fri, 30 Aug 2024 09:47:04 +0700 Subject: [PATCH] fix: wrong endpoint --- src/stores/branch/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/branch/index.ts b/src/stores/branch/index.ts index 187fe186..8564ae76 100644 --- a/src/stores/branch/index.ts +++ b/src/stores/branch/index.ts @@ -191,7 +191,7 @@ const useBranchStore = defineStore('api-branch', () => { } async function getAdmin(branchId: string | string[]) { - const res = await api.get(`/branch/${branchId}/admin`, { + const res = await api.get(`/branch/${branchId}/manager`, { headers: { 'X-Rtid': flowStore.rtid }, });