Skip to content

Commit

Permalink
fix: polling for API Authentication (#4490)
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro authored Mar 28, 2022
1 parent 6e47ae1 commit 3df8f95
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands/dev/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,9 @@ const startPollingForAPIAuthentication = async function (options) {
process.env.ONEGRAPH_AUTHLIFY_TOKEN = netlifyGraphJWT
process.env.NETLIFY_GRAPH_TOKEN = netlifyGraphJWT
}
} else {
} else if (!authlifyTokenId) {
// If there's no `authlifyTokenId`, it's because the user disabled API
// Auth. Delete the config in this case.
delete config.netlifyGraphConfig
}

Expand Down

1 comment on commit 3df8f95

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

Package size: 380 MB

Please sign in to comment.