Просмотр исходного кода

added default values

Former-commit-id: 406f3ce2e2426f3c6927dfc6ab9dcd7fe3973266
Gildas 6 лет назад
Родитель
Сommit
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"] });