refactor: add registered branch to product group

This commit is contained in:
Methapon Metanipat 2024-09-10 13:35:53 +07:00
parent 01c5592f7d
commit 67d360c92b
5 changed files with 92 additions and 144 deletions

View file

@ -45,7 +45,7 @@ const useMyBranch = defineStore('useMyBranchStore', () => {
}
async function fetchListMyBranch(userId: string) {
const res = await api.get<Pagination<Branch[]>>(`/user/${userId}/branch`, {
const res = await api.get<Pagination<Branch[]>>(`/branch`, {
headers: {
'X-Rtid': flowStore.rtid,
},