fix: typo

This commit is contained in:
Methapon Metanipat 2024-10-11 16:08:40 +07:00
parent 38eb18a593
commit 860c8784a4
4 changed files with 9 additions and 9 deletions

View file

@ -76,7 +76,7 @@ const useCustomerStore = defineStore('api-customer', () => {
}
}
async function fetchListCustomeBranch<
async function fetchListCustomerBranch<
Options extends {
zipCode?: string;
customerId?: string;
@ -479,7 +479,7 @@ const useCustomerStore = defineStore('api-customer', () => {
return false;
}
async function fetchListCustomeBranchById(branchId: string) {
async function fetchListCustomerBranchById(branchId: string) {
const res = await api.get(`/customer-branch/${branchId}`);
if (res && res.status === 200) {
@ -495,7 +495,7 @@ const useCustomerStore = defineStore('api-customer', () => {
getStatsCustomer,
setImage,
fetchListCustomeBranch,
fetchListCustomerBranch,
fetchById,
fetchList,
@ -510,7 +510,7 @@ const useCustomerStore = defineStore('api-customer', () => {
getBranchById,
editBranchById,
deleteBranchById,
fetchListCustomeBranchById,
fetchListCustomerBranchById,
fetchBranchEmployee,