@hapl/api-queries 0.1.91 → 0.1.92

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.91",
2
+ "version": "0.1.92",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -16,7 +16,7 @@ export function finishOperatorWorkRequest({
16
16
  headers,
17
17
  }: FinishOperatorWorkConfig) {
18
18
  return axios
19
- .post('/api/call/operator/finish', null, {
19
+ .post('/api/call/operator/finish', undefined, {
20
20
  baseURL,
21
21
  headers: { Accept: 'application/json; version=1', ...headers },
22
22
  transformResponse: [
@@ -17,7 +17,7 @@ export type StartOperatorWorkConfig = { baseURL?: string; headers: StartOperator
17
17
 
18
18
  export function startOperatorWorkRequest({ baseURL = 'https://clients.homeapp.ru', headers }: StartOperatorWorkConfig) {
19
19
  return axios
20
- .post('/api/call/operator/prolong', null, {
20
+ .post('/api/call/operator/prolong', undefined, {
21
21
  baseURL,
22
22
  headers: { Accept: 'application/json; version=1', ...headers },
23
23
  transformResponse: [