@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.
@@ -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({ isHelpful: flag, messageId: message.message_id }),
1454
+ body: JSON.stringify({ messageId: message._id, isHelpful: flag }),
1454
1455
  }).then(function () {
1455
1456
  if (flag) {
1456
1457
  _this.chatLog.push({