From d362c041ac7a748181e057f94667d044e33b621f Mon Sep 17 00:00:00 2001 From: Antony Kurniawan Date: Wed, 1 Oct 2025 10:49:05 +0700 Subject: [PATCH] add: credential true --- src/components/Global/ApiRequest.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Global/ApiRequest.jsx b/src/components/Global/ApiRequest.jsx index 20cf2ae..c0f8c67 100644 --- a/src/components/Global/ApiRequest.jsx +++ b/src/components/Global/ApiRequest.jsx @@ -22,6 +22,7 @@ async function ApiRequest({ "Accept-Language": "en_US", ...(isFormData ? {} : { "Content-Type": "application/json" }), }, + withCredentials: true, }; // handle download (doc)