Skip to content

Commit 372c55b

Browse files
committed
renaming
1 parent 59cc658 commit 372c55b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

services/static-webserver/client/source/class/osparc/editor/AnnotationNoteCreator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ qx.Class.define("osparc.editor.AnnotationNoteCreator", {
174174
const potentialCollaborators = osparc.store.Groups.getInstance().getPotentialCollaborators()
175175
if (userGid in potentialCollaborators && "getUserId" in potentialCollaborators[userGid]) {
176176
const uid = potentialCollaborators[userGid].getUserId();
177-
osparc.notification.Notifications.postNewStudy(uid, studyData["uuid"]);
177+
osparc.notification.Notifications.postStudyShared(uid, studyData["uuid"]);
178178
}
179179
})
180180
.finally(() => collaboratorsManager.close());

services/static-webserver/client/source/class/osparc/info/CommentAdd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ qx.Class.define("osparc.info.CommentAdd", {
187187
const potentialCollaborators = osparc.store.Groups.getInstance().getPotentialCollaborators()
188188
if (userGid in potentialCollaborators && "getUserId" in potentialCollaborators[userGid]) {
189189
const uid = potentialCollaborators[userGid].getUserId();
190-
osparc.notification.Notifications.postNewStudy(uid, studyData["uuid"]);
190+
osparc.notification.Notifications.postStudyShared(uid, studyData["uuid"]);
191191
}
192192
})
193193
.catch(err => osparc.FlashMessenger.logError(err));

services/static-webserver/client/source/class/osparc/notification/Notifications.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ qx.Class.define("osparc.notification.Notifications", {
122122
return osparc.data.Resources.fetch("notifications", "post", params);
123123
},
124124

125-
postNewStudy: function(userId, studyId) {
125+
postStudyShared: function(userId, studyId) {
126126
const params = {
127127
data: this.__newStudyObj(userId, studyId)
128128
};

services/static-webserver/client/source/class/osparc/share/CollaboratorsStudy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ qx.Class.define("osparc.share.CollaboratorsStudy", {
217217
const uid = potentialCollaborators[gid].getUserId();
218218
switch (this._resourceType) {
219219
case "study":
220-
osparc.notification.Notifications.postNewStudy(uid, this._serializedDataCopy["uuid"]);
220+
osparc.notification.Notifications.postStudyShared(uid, this._serializedDataCopy["uuid"]);
221221
break;
222222
case "template":
223223
case "tutorial":

0 commit comments

Comments
 (0)