fix: quotation attachment

This commit is contained in:
puriphatt 2024-10-22 15:01:06 +07:00
parent 7ae74cdd5d
commit f5626f9f2e
2 changed files with 12 additions and 5 deletions

View file

@ -160,11 +160,10 @@ export const useQuotationPayment = defineStore('quotation-payment', () => {
}
function createPaymentFileManager(
api: AxiosInstance,
quotationId: string,
opts?: { onUploadProgress: (e: AxiosProgressEvent) => void },
) {
return manageAttachment(api, `/quotation/${quotationId}/payment`, opts);
return manageAttachment(api, `quotation/${quotationId}/payment`, opts);
}
return {