Skip to content

Commit

Permalink
should be able to search foolders on drive
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammed-abuodeh committed Sep 2, 2024
1 parent 316a99d commit fd026aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gapiLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function showPicker(accessToken, callback) {
.get(`${SERVER_ORIGIN}/get_gapi_credentials`)
.then((rsp) => {
let credentials = rsp.data;
let view = new google.picker.DocsView(google.picker.ViewId.DOCS);
let view = new google.picker.DocsView(google.picker.ViewId.DOCS).setParent('root').setIncludeFolders(true);
view.setMimeTypes("text/plain");
view.setMode(google.picker.DocsViewMode.LIST);
let picker = new google.picker.PickerBuilder()
Expand Down

0 comments on commit fd026aa

Please sign in to comment.