fix:delete artocle categories
This commit is contained in:
parent
adcae589f0
commit
e235b86c12
|
|
@ -44,7 +44,7 @@ export async function deleteCategory(id: number) {
|
|||
"content-type": "application/json",
|
||||
Authorization: `Bearer ${token}`,
|
||||
};
|
||||
return await httpPut(`article-categories/delete/${id}`, headers);
|
||||
return await httpDeleteInterceptor(`article-categories/${id}`, headers);
|
||||
}
|
||||
|
||||
export async function uploadCategoryThumbnail(id: string, data: any) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue