@@ -33,7 +33,7 @@ qx.Class.define("osparc.store.ConversationsProject", {
3333 limit : 42 ,
3434 }
3535 } ;
36- return osparc . data . Resources . fetch ( "conversationsProject " , "getConversationsPage" , params )
36+ return osparc . data . Resources . fetch ( "conversationsStudies " , "getConversationsPage" , params )
3737 . then ( conversations => {
3838 if ( conversations . length ) {
3939 // Sort conversations by created date, oldest first (the new ones will be next to the plus button)
@@ -51,7 +51,7 @@ qx.Class.define("osparc.store.ConversationsProject", {
5151 conversationId,
5252 }
5353 } ;
54- return osparc . data . Resources . fetch ( "conversationsProject " , "getConversation" , params ) ;
54+ return osparc . data . Resources . fetch ( "conversationsStudies " , "getConversation" , params ) ;
5555 } ,
5656
5757 addConversation : function ( studyId , name = "new 1" , type = osparc . study . Conversations . TYPES . PROJECT_STATIC ) {
@@ -64,7 +64,7 @@ qx.Class.define("osparc.store.ConversationsProject", {
6464 type,
6565 }
6666 } ;
67- return osparc . data . Resources . fetch ( "conversationsProject " , "addConversation" , params )
67+ return osparc . data . Resources . fetch ( "conversationsStudies " , "addConversation" , params )
6868 . catch ( err => osparc . FlashMessenger . logError ( err ) ) ;
6969 } ,
7070
@@ -75,7 +75,7 @@ qx.Class.define("osparc.store.ConversationsProject", {
7575 conversationId,
7676 } ,
7777 } ;
78- return osparc . data . Resources . fetch ( "conversationsProject " , "deleteConversation" , params )
78+ return osparc . data . Resources . fetch ( "conversationsStudies " , "deleteConversation" , params )
7979 . then ( ( ) => {
8080 this . fireDataEvent ( "conversationDeleted" , {
8181 studyId,
@@ -95,7 +95,7 @@ qx.Class.define("osparc.store.ConversationsProject", {
9595 name,
9696 }
9797 } ;
98- return osparc . data . Resources . fetch ( "conversationsProject " , "renameConversation" , params )
98+ return osparc . data . Resources . fetch ( "conversationsStudies " , "renameConversation" , params )
9999 . then ( ( ) => {
100100 this . fireDataEvent ( "conversationRenamed" , {
101101 studyId,
@@ -117,7 +117,7 @@ qx.Class.define("osparc.store.ConversationsProject", {
117117 "type" : "MESSAGE" ,
118118 }
119119 } ;
120- return osparc . data . Resources . fetch ( "conversationsProject " , "addMessage" , params )
120+ return osparc . data . Resources . fetch ( "conversationsStudies " , "addMessage" , params )
121121 . catch ( err => osparc . FlashMessenger . logError ( err ) ) ;
122122 } ,
123123
@@ -132,7 +132,7 @@ qx.Class.define("osparc.store.ConversationsProject", {
132132 "content" : message ,
133133 } ,
134134 } ;
135- return osparc . data . Resources . fetch ( "conversationsProject " , "editMessage" , params )
135+ return osparc . data . Resources . fetch ( "conversationsStudies " , "editMessage" , params )
136136 . catch ( err => osparc . FlashMessenger . logError ( err ) ) ;
137137 } ,
138138
@@ -144,7 +144,7 @@ qx.Class.define("osparc.store.ConversationsProject", {
144144 messageId : message [ "messageId" ] ,
145145 } ,
146146 } ;
147- return osparc . data . Resources . fetch ( "conversationsProject " , "deleteMessage" , params )
147+ return osparc . data . Resources . fetch ( "conversationsStudies " , "deleteMessage" , params )
148148 . catch ( err => osparc . FlashMessenger . logError ( err ) ) ;
149149 } ,
150150
@@ -159,7 +159,7 @@ qx.Class.define("osparc.store.ConversationsProject", {
159159 "type" : "NOTIFICATION" ,
160160 }
161161 } ;
162- return osparc . data . Resources . fetch ( "conversationsProject " , "addMessage" , params )
162+ return osparc . data . Resources . fetch ( "conversationsStudies " , "addMessage" , params )
163163 . catch ( err => osparc . FlashMessenger . logError ( err ) ) ;
164164 } ,
165165 }
0 commit comments