diff --git a/service/content/content.ts b/service/content/content.ts index 686ea83c..e6a0a41a 100644 --- a/service/content/content.ts +++ b/service/content/content.ts @@ -168,7 +168,7 @@ export async function uploadThumbnail(id: any, data: any) { const headers = { "Content-Type": "multipart/form-data", }; - return httpPostInterceptor(url, data, { headers }); + return httpPostInterceptor(url, data, headers); } export async function detailSPIT(id: any) { diff --git a/service/settings/settings.ts b/service/settings/settings.ts index 551bfc94..673eb01a 100644 --- a/service/settings/settings.ts +++ b/service/settings/settings.ts @@ -39,7 +39,7 @@ export async function postCategory(data: any) { const headers = { "Content-Type": "multipart/form-data", }; - return httpPostInterceptor(url, data, { headers }); + return httpPostInterceptor(url, data, headers); } export async function getPrivacy(id: string) {