fix: typo

This commit is contained in:
Methapon2001 2024-08-08 17:10:20 +07:00
parent 155523d354
commit dc578316af

View file

@ -314,7 +314,7 @@ const useCustomerStore = defineStore('api-customer', () => {
transactionId?: string;
},
) {
const res = await api.post<CustomerBranch>(`/customer-branch/${id}`, {
const res = await api.get<CustomerBranch>(`/customer-branch/${id}`, {
headers: {
'X-Session-Id': flow?.sessionId,
'X-Rtid': flow?.refTransactionId || flowStore.rtid,