Browse Source

companion: exclude non downloadable files in fetched list for dropbox (#2493)

Johnny Perkins 4 years ago
parent
commit
39420461c8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/@uppy/companion/src/server/provider/dropbox/index.js

+ 2 - 1
packages/@uppy/companion/src/server/provider/dropbox/index.js

@@ -105,7 +105,8 @@ class DropBox extends Provider {
       .qs(query)
       .auth(token)
       .json({
-        path: `${directory || ''}`
+        path: `${directory || ''}`,
+        include_non_downloadable_files: false
       })
       .request(done)
   }