@docbrasil/api-systemmanager 1.1.59 → 1.1.60

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.
@@ -296,7 +296,7 @@ class Documents {
296
296
  Joi.assert(session, Joi.string().required().error(new Error('session is required')));
297
297
  const {id, orgId} = params;
298
298
  const apiCall = self._client
299
- .get(`/organizations/${orgId}/documents/${id}/data/DOC`, params, self._setHeader(session));
299
+ .get(`/organizations/${orgId}/documents/${id}/data/DOC`, self._setHeader(session));
300
300
 
301
301
  return self._returnData(await apiCall);
302
302
  } catch (ex) {
@@ -212,7 +212,7 @@ class Organization {
212
212
 
213
213
  const options = {
214
214
  method,
215
- headers: {authorization: session},
215
+ headers: { Authorization: session },
216
216
  url,
217
217
  };
218
218
 
package/dist/bundle.cjs CHANGED
@@ -950,7 +950,7 @@ class Documents {
950
950
  Joi__default["default"].assert(session, Joi__default["default"].string().required().error(new Error('session is required')));
951
951
  const {id, orgId} = params;
952
952
  const apiCall = self._client
953
- .get(`/organizations/${orgId}/documents/${id}/data/DOC`, params, self._setHeader(session));
953
+ .get(`/organizations/${orgId}/documents/${id}/data/DOC`, self._setHeader(session));
954
954
 
955
955
  return self._returnData(await apiCall);
956
956
  } catch (ex) {
@@ -1898,7 +1898,7 @@ class Organization$1 {
1898
1898
 
1899
1899
  const options = {
1900
1900
  method,
1901
- headers: {authorization: session},
1901
+ headers: { Authorization: session },
1902
1902
  url,
1903
1903
  };
1904
1904