Skip to content

Commit 6dce8cc

Browse files
authored
Cookie expiration fix (#986)
1 parent c11c1ce commit 6dce8cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/fetch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export const magentoGraphQL = (window.magentoGraphQL = async (
9696
console.error(data.errors)
9797

9898
data?.errors?.forEach((error) => {
99-
if (error?.extensions?.category !== 'graphql-authorization') {
99+
if (!['graphql-authorization', 'graphql-authentication'].includes(error?.extensions?.category)) {
100100
return
101101
}
102102

0 commit comments

Comments
 (0)