@docbrasil/api-systemmanager 1.0.72 → 1.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/user/document.js +1 -1
- package/dist/bundle.cjs +1 -1
- package/dist/bundle.mjs +1 -1
- package/package.json +1 -1
package/api/user/document.js
CHANGED
|
@@ -564,7 +564,7 @@ class Documents {
|
|
|
564
564
|
|
|
565
565
|
const {orgId, methodType = 'put', docs = []} = params;
|
|
566
566
|
const apiCall = self._client
|
|
567
|
-
.post(`/organizations/${orgId}/documents/getDocumentSignedUrl/${methodType}`, docs, self._setHeader(session));
|
|
567
|
+
.post(`/organizations/${orgId}/documents/getDocumentSignedUrl/${methodType}`, { docs }, self._setHeader(session));
|
|
568
568
|
|
|
569
569
|
return self._returnData(await apiCall);
|
|
570
570
|
} catch (ex) {
|
package/dist/bundle.cjs
CHANGED
|
@@ -1116,7 +1116,7 @@ class Documents {
|
|
|
1116
1116
|
|
|
1117
1117
|
const {orgId, methodType = 'put', docs = []} = params;
|
|
1118
1118
|
const apiCall = self._client
|
|
1119
|
-
.post(`/organizations/${orgId}/documents/getDocumentSignedUrl/${methodType}`, docs, self._setHeader(session));
|
|
1119
|
+
.post(`/organizations/${orgId}/documents/getDocumentSignedUrl/${methodType}`, { docs }, self._setHeader(session));
|
|
1120
1120
|
|
|
1121
1121
|
return self._returnData(await apiCall);
|
|
1122
1122
|
} catch (ex) {
|