@pushwoosh/http-client 1.1.2 → 1.2.0
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/README.md +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -8
package/README.md
CHANGED
|
@@ -139,7 +139,7 @@ try {
|
|
|
139
139
|
withCredentials: false,
|
|
140
140
|
responseMiddleware: (response: Response): { some: string } => { // если стандартный middleware для разбора ответа от сервера не подходит
|
|
141
141
|
const jsonResponse = httpClient.baseResponseMiddleware(response);
|
|
142
|
-
const result = httpClient.baseResponseMiddleware(
|
|
142
|
+
const result = httpClient.baseResponseMiddleware(jsonResponse);
|
|
143
143
|
return result;
|
|
144
144
|
},
|
|
145
145
|
});
|