Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

? added to get calls with optargs passed

  • Loading branch information...
commit 5c1329a2e0ae2df098f207df3ebb153d8400a28b 1 parent de0f80c
@CrabDude CrabDude authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/dropbox-node.js
View
4 lib/dropbox-node.js
@@ -139,7 +139,7 @@ DropboxClient.prototype.putFile = function(file, path, optargs, cb) {
DropboxClient.prototype.getMetadata = function(path, optargs, cb) {
if (typeof optargs == 'function') cb = optargs, optargs = {};
path = escapePath(path);
- this.oauth.get(API_URI + '/metadata/dropbox/' + path +
+ this.oauth.get(API_URI + '/metadata/dropbox/' + path + '?' +
stringifyParams(optargs)
, optargs.token || this.access_token
, optargs.secret || this.access_token_secret
@@ -156,7 +156,7 @@ DropboxClient.prototype.getMetadata = function(path, optargs, cb) {
DropboxClient.prototype.getThumbnail = function(path, optargs, cb) {
if (typeof optargs == 'function') cb = optargs, optargs = {};
path = escapePath(path);
- this.oauth.get(CONTENT_API_URI + '/thumbnails/dropbox/' + path +
+ this.oauth.get(CONTENT_API_URI + '/thumbnails/dropbox/' + path + '?' +
stringifyParams(optargs)
, optargs.token || this.access_token
, optargs.secret || this.access_token_secret
Please sign in to comment.
Something went wrong with that request. Please try again.