Explorar el Código

return an empty response object

Gildas hace 6 años
padre
commit
ad596c60cb
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      extension/core/bg/autosave.js

+ 2 - 1
extension/core/bg/autosave.js

@@ -39,7 +39,8 @@ singlefile.extension.core.bg.autosave = (() => {
 			return { options, autoSaveEnabled };
 		}
 		if (message.method.endsWith(".save")) {
-			return saveContent(message, sender.tab);
+			await saveContent(message, sender.tab);
+			return {};
 		}
 	}