Skip to content

Commit cc4d566

Browse files
committed
fix notification
1 parent bdb7265 commit cc4d566

File tree

1 file changed

+3
-3
lines changed
  • services/static-webserver/client/source/class/osparc/notification

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ qx.Class.define("osparc.notification.Notifications", {
105105
const specNotification = {
106106
"category": "WALLET_SHARED",
107107
"actionable_path": "wallet/"+walletId,
108-
"resource_id": walletId,
108+
"resource_id": walletId.toString(),
109109
"title": "Credits shared",
110110
"text": "A Credit Account was shared with you"
111111
};
@@ -143,9 +143,9 @@ qx.Class.define("osparc.notification.Notifications", {
143143
return osparc.data.Resources.fetch("notifications", "post", params);
144144
},
145145

146-
postNewWallet: function(userId, studyId) {
146+
postNewWallet: function(userId, walletId) {
147147
const params = {
148-
data: this.__newWalletObj(userId, studyId)
148+
data: this.__newWalletObj(userId, walletId)
149149
};
150150
return osparc.data.Resources.fetch("notifications", "post", params);
151151
},

0 commit comments

Comments
 (0)