diff --git a/src/stores/customer/index.ts b/src/stores/customer/index.ts index 7d13fcfd..5a816625 100644 --- a/src/stores/customer/index.ts +++ b/src/stores/customer/index.ts @@ -219,7 +219,7 @@ const useCustomerStore = defineStore('api-customer', () => { `/customer-branch/${opts.branchId}/attachment/${opts.filename || opts.file.name}`, opts.file, { - headers: { 'X-Rtid': flowStore.rtid }, + headers: { 'X-Rtid': flowStore.rtid, 'Content-Type': opts.file.type }, onUploadProgress: (e) => console.log(e), }, );