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 6e47ae1 commit 3df8f95Copy full SHA for 3df8f95
src/commands/dev/dev.js
@@ -294,7 +294,9 @@ const startPollingForAPIAuthentication = async function (options) {
294
process.env.ONEGRAPH_AUTHLIFY_TOKEN = netlifyGraphJWT
295
process.env.NETLIFY_GRAPH_TOKEN = netlifyGraphJWT
296
}
297
- } else {
+ } else if (!authlifyTokenId) {
298
+ // If there's no `authlifyTokenId`, it's because the user disabled API
299
+ // Auth. Delete the config in this case.
300
delete config.netlifyGraphConfig
301
302
0 commit comments