Bläddra i källkod

Merge pull request #1500 from fengqi/fix-save-to-rest-api-variable-name

fix variable name err
Gildas 1 år sedan
förälder
incheckning
23a6ec0ab0
1 ändrade filer med 5 tillägg och 5 borttagningar
  1. 5 5
      src/core/bg/autosave.js

+ 5 - 5
src/core/bg/autosave.js

@@ -207,11 +207,11 @@ async function saveContent(message, tab) {
 						await downloads.saveToRestFormApi(
 							message.taskId,
 							content,
-							pageData.url,
-							options.restFormApiToken,
-							options.restFormApiUrl,
-							options.restFormApiFileFieldName,
-							options.restFormApiUrlFieldName
+							options.url,
+							options.saveToRestFormApiToken,
+							options.saveToRestFormApiUrl,
+							options.saveToRestFormApiFileFieldName,
+							options.saveToRestFormApiUrlFieldName
 						);
 					} else {
 						if (!(content instanceof Blob)) {