Comparing version 1.10.0 to 1.10.1
@@ -22,3 +22,3 @@ 'use strict'; | ||
update(urlParams, body, headers) { | ||
const url = _common2.default.formatUrl(this.configuration.routes.usersId, urlParams); | ||
const url = _common2.default.formatUrl(this.configuration.routes.usersCompaniesId, urlParams); | ||
return super.putRequest(url, body, headers); | ||
@@ -29,2 +29,2 @@ } | ||
module.exports = exports['default']; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jbGFzc2VzL3Jlc291cmNlcy91c2Vycy9jb21wYW5pZXMvaWQvaW5kZXguanMiXSwibmFtZXMiOlsiVXNlcnNDb21wYW5pZXNJZCIsIkNvbW1vbiIsInVwZGF0ZSIsInVybFBhcmFtcyIsImJvZHkiLCJoZWFkZXJzIiwidXJsIiwiZm9ybWF0VXJsIiwiY29uZmlndXJhdGlvbiIsInJvdXRlcyIsInVzZXJzSWQiLCJwdXRSZXF1ZXN0Il0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTs7Ozs7O0FBRWUsTUFBTUEsZ0JBQU4sU0FBK0JDLGdCQUEvQixDQUFzQztBQUNuRDs7Ozs7OztBQU9BQyxTQUFPQyxTQUFQLEVBQWtCQyxJQUFsQixFQUF3QkMsT0FBeEIsRUFBaUM7QUFDL0IsVUFBTUMsTUFBTUwsaUJBQU9NLFNBQVAsQ0FBaUIsS0FBS0MsYUFBTCxDQUFtQkMsTUFBbkIsQ0FBMEJDLE9BQTNDLEVBQW9EUCxTQUFwRCxDQUFaO0FBQ0EsV0FBTyxNQUFNUSxVQUFOLENBQWlCTCxHQUFqQixFQUFzQkYsSUFBdEIsRUFBNEJDLE9BQTVCLENBQVA7QUFDRDtBQVhrRDtrQkFBaENMLGdCIiwiZmlsZSI6ImluZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IENvbW1vbiBmcm9tICcuLi8uLi8uLi8uLi9jb21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sTUFBTUwsaUJBQU9NLFNBQVAsQ0FBaUIsS0FBS0MsYUFBTCxDQUFtQkMsTUFBbkIsQ0FBMEJDLGdCQUEzQyxFQUE2RFAsU0FBN0QsQ0FBWjtBQUNBLFdBQU8sTUFBTVEsVUFBTixDQUFpQkwsR0FBakIsRUFBc0JGLElBQXRCLEVBQTRCQyxPQUE1QixDQUFQO0FBQ0Q7QUFYa0Q7a0JBQWhDTCxnQiIsImZpbGUiOiJpbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBDb21tb24gZnJvbSAnLi4vLi4vLi4vLi4vY29tbW9uL2NvbW1vbic7XG5cbmV4cG9ydCBkZWZhdWx0IGNsYXNzIFVzZXJzQ29tcGFuaWVzSWQgZXh0ZW5kcyBDb21tb24ge1xuICAvKipcbiAgICogQGRlc2NyaXB0aW9uIFVwZGF0ZSB1c2VyIGNvbXBhbmllcy5cbiAgICogQHBhcmFtIHVybFBhcmFtc1xuICAgKiBAcGFyYW0gYm9keVxuICAgKiBAcGFyYW0gaGVhZGVyc1xuICAgKiBAcmV0dXJuIHtQcm9taXNlfVxuICAgKi9cbiAgdXBkYXRlKHVybFBhcmFtcywgYm9keSwgaGVhZGVycykge1xuICAgIGNvbnN0IHVybCA9IENvbW1vbi5mb3JtYXRVcmwodGhpcy5jb25maWd1cmF0aW9uLnJvdXRlcy51c2Vyc0NvbXBhbmllc0lkLCB1cmxQYXJhbXMpO1xuICAgIHJldHVybiBzdXBlci5wdXRSZXF1ZXN0KHVybCwgYm9keSwgaGVhZGVycyk7XG4gIH1cbn1cbiJdfQ== |
{ | ||
"name": "g8-js-sdk", | ||
"version": "1.10.0", | ||
"version": "1.10.1", | ||
"description": "Ambulance G8 Javascript SDK", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -12,5 +12,5 @@ import Common from '../../../../common/common'; | ||
update(urlParams, body, headers) { | ||
const url = Common.formatUrl(this.configuration.routes.usersId, urlParams); | ||
const url = Common.formatUrl(this.configuration.routes.usersCompaniesId, urlParams); | ||
return super.putRequest(url, body, headers); | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
148612