@hapl/api-queries 0.1.129 → 0.1.130

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.
@@ -1661,7 +1661,7 @@ function publishServiceRequest(_ref) {
1661
1661
  baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
1662
1662
  urlParams = _ref.urlParams,
1663
1663
  headers = _ref.headers;
1664
- return axios.patch("/api/service-request/publish/" + urlParams.id, {}, {
1664
+ return axios.post("/api/service-request/publish/" + urlParams.id, {}, {
1665
1665
  baseURL: baseURL,
1666
1666
  headers: _extends({
1667
1667
  Accept: 'application/json',
@@ -1685,7 +1685,7 @@ function depublishServiceRequest(_ref) {
1685
1685
  urlParams = _ref.urlParams,
1686
1686
  body = _ref.body,
1687
1687
  headers = _ref.headers;
1688
- return axios.patch("/api/service-request/depublish/" + urlParams.id, body, {
1688
+ return axios.post("/api/service-request/depublish/" + urlParams.id, body, {
1689
1689
  baseURL: baseURL,
1690
1690
  headers: _extends({
1691
1691
  Accept: 'application/json',