@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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v0.1.130 (Fri Feb 11 2022)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - fix: исправлен неверный метод публикации/депубликации ЗОУ [#62](https://github.com/homeappcorporate/api-queries/pull/62) ([@abd2561024](https://github.com/abd2561024))
6
+
7
+ #### Authors: 1
8
+
9
+ - Andrey Romashin ([@abd2561024](https://github.com/abd2561024))
10
+
11
+ ---
12
+
1
13
  # v0.1.129 (Fri Feb 11 2022)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -1667,7 +1667,7 @@ function publishServiceRequest(_ref) {
1667
1667
  baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
1668
1668
  urlParams = _ref.urlParams,
1669
1669
  headers = _ref.headers;
1670
- return axios.patch("/api/service-request/publish/" + urlParams.id, {}, {
1670
+ return axios.post("/api/service-request/publish/" + urlParams.id, {}, {
1671
1671
  baseURL: baseURL,
1672
1672
  headers: _extends({
1673
1673
  Accept: 'application/json',
@@ -1691,7 +1691,7 @@ function depublishServiceRequest(_ref) {
1691
1691
  urlParams = _ref.urlParams,
1692
1692
  body = _ref.body,
1693
1693
  headers = _ref.headers;
1694
- return axios.patch("/api/service-request/depublish/" + urlParams.id, body, {
1694
+ return axios.post("/api/service-request/depublish/" + urlParams.id, body, {
1695
1695
  baseURL: baseURL,
1696
1696
  headers: _extends({
1697
1697
  Accept: 'application/json',