diff --git a/app/[locale]/(protected)/admin/settings/category/component/column.tsx b/app/[locale]/(protected)/admin/settings/category/component/column.tsx index 71813ee8..ec43df57 100644 --- a/app/[locale]/(protected)/admin/settings/category/component/column.tsx +++ b/app/[locale]/(protected)/admin/settings/category/component/column.tsx @@ -124,7 +124,7 @@ const columns: ColumnDef[] = [ onClick={() => categoryDelete(row.original.id)} className="hover:underline cursor-pointer hover:text-destructive" > - Delete + Delete diff --git a/service/auth.ts b/service/auth.ts index ac094adb..f7c81885 100644 --- a/service/auth.ts +++ b/service/auth.ts @@ -10,11 +10,7 @@ import { export async function login(data: any) { const pathUrl = "signin"; - const headers = { - accept: "application/json", - "content-type": "application/json", - }; - return httpPost(pathUrl, headers, data); + return httpPost(pathUrl, data); } // export async function login(data: any, csrfToken: string) {