Skip to content

Commit 24dc564

Browse files
committed
attach studyId
1 parent 7694180 commit 24dc564

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
@@ -195,6 +195,8 @@ qx.Class.define("osparc.conversation.Conversation", {
195195
this.__getNextRequest()
196196
.then(resp => {
197197
const messages = resp["data"];
198+
// it's not provided by the backend
199+
messages.forEach(message => message["studyId"] = this.__studyData["uuid"]);
198200
this.__addMessages(messages);
199201
this.__nextRequestParams = resp["_links"]["next"];
200202
if (this.__nextRequestParams === null) {

0 commit comments

Comments
 (0)