소스 검색

added default values

Former-commit-id: 406f3ce2e2426f3c6927dfc6ab9dcd7fe3973266
Gildas 6 년 전
부모
커밋
0c08be1e47
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/gdrive/gdrive.js

+ 1 - 1
lib/gdrive/gdrive.js

@@ -40,7 +40,7 @@ this.GDrive = this.GDrive || (() => {
 			this.folderIds = new Map();
 			setInterval(() => this.folderIds.clear(), 60 * 1000);
 		}
-		async auth(options = {}) {
+		async auth(options = { interactive: true, auto: true, requestPermissionIdentity: true }) {
 			try {
 				if (options.requestPermissionIdentity) {
 					await browser.permissions.request({ permissions: ["identity"] });