Comparing version 0.0.20 to 0.0.21
@@ -81,3 +81,7 @@ var q = require('q'); | ||
try{ | ||
args[args.length -1] = filefog_options; | ||
var expected_parameters = ClientWrapper.super_.prototype[method].length; | ||
if((expected_parameters-1) >= 0){ | ||
//filefog_options is always the last parameter. | ||
args[expected_parameters -1] = filefog_options; | ||
} | ||
var promise = ClientWrapper.super_.prototype[method].apply(this, args) | ||
@@ -84,0 +88,0 @@ .then(function (raw_response) { |
@@ -5,3 +5,3 @@ { | ||
"description": "Cloud Storage API Wrapper supporting Box, Dropbox, Skydrive, Google Drive", | ||
"version": "0.0.20", | ||
"version": "0.0.21", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "url": "https://github.com/filefog/filefog.git" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41975
944