@ifings/api-client
Advanced tools
Comparing version 0.11.1 to 0.11.2
@@ -101,5 +101,5 @@ "use strict"; | ||
upload: function upload(id) { | ||
var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | ||
var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; | ||
var config = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; | ||
return methods(instance, "".concat(baseUrl, "/").concat(id, "/documents")).create(data, config); | ||
return instance.post("".concat(baseUrl, "/").concat(id, "/documents"), data, config); | ||
}, | ||
@@ -106,0 +106,0 @@ edit: function edit(id) { |
{ | ||
"name": "@ifings/api-client", | ||
"description": "iFings API client", | ||
"version": "0.11.1", | ||
"version": "0.11.2", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
50977