feat: fixing thumbnail
This commit is contained in:
parent
19849e6088
commit
21d06c0e8a
|
|
@ -173,10 +173,10 @@ export async function createMedia(data: any) {
|
|||
|
||||
export async function uploadThumbnail(id: any, data: any) {
|
||||
const url = `media/upload?id=${id}&operation=thumbnail`;
|
||||
// const headers = {
|
||||
// "Content-Type": "multipart/form-data",
|
||||
// };
|
||||
return httpPostInterceptor(url, data);
|
||||
const headers = {
|
||||
"Content-Type": "multipart/form-data",
|
||||
};
|
||||
return httpPostInterceptor(url, data, headers);
|
||||
}
|
||||
|
||||
export async function detailSPIT(id: any) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue