@hivegpt/hiveai-angular 0.0.309 → 0.0.311
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/bundles/hivegpt-hiveai-angular.umd.js +2 -1
- package/bundles/hivegpt-hiveai-angular.umd.js.map +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js.map +1 -1
- package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +3 -2
- package/fesm2015/hivegpt-hiveai-angular.js +2 -1
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
- package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1439,6 +1439,7 @@
|
|
|
1439
1439
|
};
|
|
1440
1440
|
ChatDrawerComponent.prototype.submitFeedback = function (flag, message) {
|
|
1441
1441
|
var _this = this;
|
|
1442
|
+
console.log(message);
|
|
1442
1443
|
this.feedbackDone = true;
|
|
1443
1444
|
this.showFeedBackIconsIndex = null;
|
|
1444
1445
|
var conversation_id = this.conversationService.getKey(this.botId);
|
|
@@ -1450,7 +1451,7 @@
|
|
|
1450
1451
|
'x-api-key': 'Conversation_WIz/qAm+EEmfOkFaUA/weA==',
|
|
1451
1452
|
'hive-bot-id': this.botId
|
|
1452
1453
|
},
|
|
1453
|
-
body: JSON.stringify({
|
|
1454
|
+
body: JSON.stringify({ messageId: message._id, isHelpful: flag }),
|
|
1454
1455
|
}).then(function () {
|
|
1455
1456
|
if (flag) {
|
|
1456
1457
|
_this.chatLog.push({
|