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 3773169 commit e64b947Copy full SHA for e64b947
src/components/dialogs/dataSources/COVIDcast.svelte
@@ -38,7 +38,7 @@
38
function fetchMetadata() {
39
fetchCOVIDcastMeta(form_key).then((res) => {
40
if (res.length == 0) {
41
- valid_key = form_key == ''; // mark key as valid if it's empty, otherwise invalid
+ valid_key = false;
42
} else {
43
valid_key = true;
44
api_key = form_key; // API key is valid -> use it to fetch data later on
0 commit comments