@hivegpt/hiveai-angular 0.0.310 → 0.0.312

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.
@@ -1139,6 +1139,7 @@
1139
1139
  copied: false,
1140
1140
  isCollapsedTrue: false,
1141
1141
  WorkflowExecutionId: chat.WorkflowExecutionId,
1142
+ _id: chat._id
1142
1143
  });
1143
1144
  }
1144
1145
  if (chat.Type == 'ai') {
@@ -1157,6 +1158,7 @@
1157
1158
  time: formatTimeStamps(_this.timezone, chat.InsertTimestamp),
1158
1159
  copied: false,
1159
1160
  isCollapsedTrue: false,
1161
+ _id: chat._id
1160
1162
  });
1161
1163
  _this.showFeedBackIconsIndex = _this.chatLog.length - 1;
1162
1164
  }
@@ -1439,6 +1441,7 @@
1439
1441
  };
1440
1442
  ChatDrawerComponent.prototype.submitFeedback = function (flag, message) {
1441
1443
  var _this = this;
1444
+ console.log(message);
1442
1445
  this.feedbackDone = true;
1443
1446
  this.showFeedBackIconsIndex = null;
1444
1447
  var conversation_id = this.conversationService.getKey(this.botId);
@@ -1450,7 +1453,7 @@
1450
1453
  'x-api-key': 'Conversation_WIz/qAm+EEmfOkFaUA/weA==',
1451
1454
  'hive-bot-id': this.botId
1452
1455
  },
1453
- body: JSON.stringify({ isHelpful: flag, messageId: message._id }),
1456
+ body: JSON.stringify({ messageId: message._id, isHelpful: flag }),
1454
1457
  }).then(function () {
1455
1458
  if (flag) {
1456
1459
  _this.chatLog.push({