feat: update category and thumbnail

This commit is contained in:
hanif salafi 2025-01-13 12:37:53 +07:00
parent 332b589866
commit 4e3196d20c
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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) {