Skip to content

Commit 17bb197

Browse files
committed
backend doesn't provide the projectId
1 parent c2c3e45 commit 17bb197

File tree

1 file changed

+2
-0
lines changed
  • services/static-webserver/client/source/class/osparc/conversation

1 file changed

+2
-0
lines changed

services/static-webserver/client/source/class/osparc/conversation/Conversation.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ qx.Class.define("osparc.conversation.Conversation", {
217217
this.__getNextRequest()
218218
.then(resp => {
219219
const messages = resp["data"];
220+
// backend doesn't provide the projectId
221+
messages.forEach(message => message["projectId"] = this.__studyData["uuid"]);
220222
messages.forEach(message => this.addMessage(message));
221223
this.__nextRequestParams = resp["_links"]["next"];
222224
if (this.__nextRequestParams === null) {

0 commit comments

Comments
 (0)