Skip to content

Commit

Permalink
support search on team drive
Browse files Browse the repository at this point in the history
  • Loading branch information
lydian committed May 17, 2018
1 parent 0f2c32e commit c4fbed4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/google-drive.rb
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ def self.get_items(token)
'q' => query,
'fields' => 'nextPageToken,items(id,title,alternateLink,mimeType,parents(id,isRoot),modifiedDate,lastModifyingUserName)',
'maxResults' => 1000,
'supportsTeamDrives' => true,
'includeTeamDriveItems' => true,
}

http = Net::HTTP.new(uri.host, uri.port)
Expand Down
4 changes: 2 additions & 2 deletions src/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ If you want to open links in a specific browser you can create a [Workflow Envir
- Firefox: `-b org.mozilla.firefox`
- Chrome: `-b com.google.Chrome`
- Firefox developer edition '-b org.mozilla.firefoxdeveloperedition'
[1]: https://www.alfredapp.com/help/workflows/advanced/variables/</string>
<key>uidata</key>
<dict>
Expand Down Expand Up @@ -276,7 +276,7 @@ If you want to open links in a specific browser you can create a [Workflow Envir
</dict>
</dict>
<key>version</key>
<string>2.1</string>
<string>2.2</string>
<key>webaddress</key>
<string>https://github.com/azai91</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion src/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1
2.2

0 comments on commit c4fbed4

Please sign in to comment.