@hapl/api-queries 0.2.20 → 0.2.21

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.2.21 (Wed Feb 01 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - FE-1491: поправлен запрос createCianRating [#142](https://github.com/homeappcorporate/api-queries/pull/142) ([@alexandropavlov](https://github.com/alexandropavlov))
6
+
7
+ #### Authors: 1
8
+
9
+ - Alexander Pavlov ([@alexandropavlov](https://github.com/alexandropavlov))
10
+
11
+ ---
12
+
1
13
  # v0.2.20 (Tue Jan 31 2023)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -4746,7 +4746,7 @@ function createCianRatingRequest(_ref) {
4746
4746
  'Content-Type': 'application/json'
4747
4747
  }, headers),
4748
4748
  transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
4749
- return data.success ? undefined : data.data.error;
4749
+ return data === '' ? null : data.data.error;
4750
4750
  }])
4751
4751
  }).then(function (res) {
4752
4752
  return res;