diff --git a/services/master-categories.tsx b/services/master-categories.tsx index cc92b9f..8d47268 100644 --- a/services/master-categories.tsx +++ b/services/master-categories.tsx @@ -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) {