From 162998863d64c052930ffffd35e4f457fe995f9c Mon Sep 17 00:00:00 2001 From: Muhammed AbuOdeh Date: Mon, 2 Sep 2024 18:34:20 +0400 Subject: [PATCH] trying application/octet-stream, as this is for other types --- gapiLoader.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gapiLoader.js b/gapiLoader.js index dd31b6c..14d2d5a 100644 --- a/gapiLoader.js +++ b/gapiLoader.js @@ -71,7 +71,8 @@ function showPicker(accessToken, callback) { .then((rsp) => { let credentials = rsp.data; let view = new google.picker.DocsView(google.picker.ViewId.DOCS).setParent('root').setIncludeFolders(true); - // view.setMimeTypes("conllx, conllu"); + // view.setMimeTypes("text/plain"); + view.setMimeTypes("application/octet-stream"); view.setMode(google.picker.DocsViewMode.LIST); let picker = new google.picker.PickerBuilder() .addView(view)