You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, when I try to subscribe to a service through graphql, I get the following error:
TypeError: Cannot read property 'userHasPermissions' of undefined
on the file
node_modules@vendure\core\src\api\middleware\auth-guard.ts:81:14
A possible solution would be adding:
return parentType !== 'Query' && parentType !== 'Mutation' && parentType !== 'Subscription';
to the isFieldResolver function in the file vendure\core\src\api\middleware\auth-guard.ts
The text was updated successfully, but these errors were encountered:
Hello, when I try to subscribe to a service through graphql, I get the following error:
TypeError: Cannot read property 'userHasPermissions' of undefined
on the file
node_modules@vendure\core\src\api\middleware\auth-guard.ts:81:14
A possible solution would be adding:
return parentType !== 'Query' && parentType !== 'Mutation' && parentType !== 'Subscription';
to the isFieldResolver function in the file vendure\core\src\api\middleware\auth-guard.ts
The text was updated successfully, but these errors were encountered: