feat: update category and thumbnail
This commit is contained in:
parent
332b589866
commit
4e3196d20c
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue