From d66f3cdc050991c2f03a8e84fa256ea69d5ae0e1 Mon Sep 17 00:00:00 2001 From: Hide on bush Date: Fri, 2 Sep 2022 11:45:07 -0300 Subject: [PATCH] Credentials include fetch --- src/common/helpers/rest-calls/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/helpers/rest-calls/index.ts b/src/common/helpers/rest-calls/index.ts index 5c2105df..43c52576 100644 --- a/src/common/helpers/rest-calls/index.ts +++ b/src/common/helpers/rest-calls/index.ts @@ -112,6 +112,7 @@ export const useMasaQuery = ( ...headers, Authorization: token ? `Bearer ${token}` : undefined, }, + credentials: "include", method: metadata.method, mode: 'cors', body: JSON.stringify(body),