@stackfactor/client-api 1.1.22 → 1.1.24

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.
@@ -22,7 +22,7 @@ export const askQuestion = (
22
22
  };
23
23
  let confirmationRequest = client.post(
24
24
  "/api/v1/aiassistant/askquestion",
25
- { data: data },
25
+ data,
26
26
  {
27
27
  headers: { authorization: token },
28
28
  }
@@ -50,7 +50,7 @@ export const endConversation = (conversationId, token) => {
50
50
  };
51
51
  let confirmationRequest = client.post(
52
52
  "/api/v1/aiassistant/endconversation",
53
- { data: data },
53
+ data,
54
54
  {
55
55
  headers: { authorization: token },
56
56
  }
@@ -121,7 +121,7 @@ const startConversation = (
121
121
  }
122
122
  let confirmationRequest = client.post(
123
123
  "/api/v1/aiassistant/startconversation",
124
- { data: data },
124
+ data,
125
125
  {
126
126
  headers: { authorization: token },
127
127
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackfactor/client-api",
3
- "version": "1.1.22",
3
+ "version": "1.1.24",
4
4
  "description": "Node.js library for the StackFactor API",
5
5
  "main": "index.js",
6
6
  "exports": {