소스 검색

fixed recursive call

Former-commit-id: 361ced961380626e93c7735d0c0ffc1d58b77c57
Gildas 6 년 전
부모
커밋
8af1cdf1f0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      extension/core/bg/downloads.js

+ 1 - 1
extension/core/bg/downloads.js

@@ -147,7 +147,7 @@ singlefile.extension.core.bg.downloads = (() => {
 				if (!cancelled && error.message == "code_required" && !code) {
 					if (options.auto) {
 						options.auto = false;
-						await getAuthInfo(uploadOptions, force);
+						return getAuthInfo(uploadOptions, force);
 					} else {
 						code = await singlefile.extension.core.bg.tabs.promptValue("Please enter the access code for Google Drive");
 					}