We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c11c1ce commit 6dce8ccCopy full SHA for 6dce8cc
resources/js/fetch.js
@@ -96,7 +96,7 @@ export const magentoGraphQL = (window.magentoGraphQL = async (
96
console.error(data.errors)
97
98
data?.errors?.forEach((error) => {
99
- if (error?.extensions?.category !== 'graphql-authorization') {
+ if (!['graphql-authorization', 'graphql-authentication'].includes(error?.extensions?.category)) {
100
return
101
}
102
0 commit comments