Provide custom fallbackError to graphql-shield

This commit is contained in:
Tima Gixe 2022-08-25 09:11:23 +03:00
parent c83096fe39
commit f0157442b9

View File

@ -188,5 +188,6 @@ export default shield(
debug,
allowExternalErrors,
fallbackRule: allow,
fallbackError: Error('Not Authorized!'),
},
)