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 7e99825 commit 94de367Copy full SHA for 94de367
src/module.ts
@@ -73,7 +73,7 @@ export default defineNuxtModule<NuxtApolloConfig<any>>({
73
if (!configPaths[k]) { configPaths[k] = path }
74
}
75
76
- v.authType = v?.authType || options.authType
+ v.authType = v?.authType || (v?.authType === '' || v?.authType === null) ? null : options.authType
77
v.authHeader = v?.authHeader || options.authHeader
78
v.tokenName = v?.tokenName || `apollo:${k}.token`
79
v.tokenStorage = v?.tokenStorage || options.tokenStorage
0 commit comments