@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.
- package/lib/aiAssistant.js +3 -3
- package/package.json +1 -1
package/lib/aiAssistant.js
CHANGED
|
@@ -22,7 +22,7 @@ export const askQuestion = (
|
|
|
22
22
|
};
|
|
23
23
|
let confirmationRequest = client.post(
|
|
24
24
|
"/api/v1/aiassistant/askquestion",
|
|
25
|
-
|
|
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
|
-
|
|
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
|
-
|
|
124
|
+
data,
|
|
125
125
|
{
|
|
126
126
|
headers: { authorization: token },
|
|
127
127
|
}
|