From e235b86c129f6f957415050579cd1d42c0195b08 Mon Sep 17 00:00:00 2001 From: Rama Priyanto Date: Fri, 6 Feb 2026 14:23:11 +0700 Subject: [PATCH] fix:delete artocle categories --- services/master-categories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {