From 19826792559e96d0ea899cb5520f2c5aa1c37f3a Mon Sep 17 00:00:00 2001 From: hanif salafi Date: Tue, 8 Jul 2025 13:42:24 +0700 Subject: [PATCH] feat: fixing login error --- service/auth.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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) {