Skip to content

Commit 2e97a07

Browse files
committed
Add Warning when API Key is missing
1 parent b74d652 commit 2e97a07

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

quick-weblog.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ function fetchAndPopulateFormFields(articleUrl, rapidApiKey) {
3939
return;
4040
}
4141

42+
if (rapidApiKey === "") {
43+
updateStatus("Your API Key is missing. Please update settings to use Auto Fill.");
44+
return;
45+
}
46+
4247
updateStatus("Attempting to fetch information and Auto Fill...");
4348
disableForm();
4449

0 commit comments

Comments
 (0)