@hivegpt/hiveai-angular 0.0.310 → 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.
@@ -961,6 +961,7 @@ class ChatDrawerComponent {
961
961
  });
962
962
  }
963
963
  submitFeedback(flag, message) {
964
+ console.log(message);
964
965
  this.feedbackDone = true;
965
966
  this.showFeedBackIconsIndex = null;
966
967
  const conversation_id = this.conversationService.getKey(this.botId);
@@ -972,7 +973,7 @@ class ChatDrawerComponent {
972
973
  'x-api-key': 'Conversation_WIz/qAm+EEmfOkFaUA/weA==',
973
974
  'hive-bot-id': this.botId
974
975
  },
975
- body: JSON.stringify({ isHelpful: flag, messageId: message._id }),
976
+ body: JSON.stringify({ messageId: message._id, isHelpful: flag }),
976
977
  }).then(() => {
977
978
  if (flag) {
978
979
  this.chatLog.push({