We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0ba254 commit cdec8e6Copy full SHA for cdec8e6
services/static-webserver/client/source/class/osparc/vipMarket/VipMarket.js
@@ -271,8 +271,10 @@ qx.Class.define("osparc.vipMarket.VipMarket", {
271
.then(() => {
272
const found = this.__anatomicalModels.find(model => model["ID"] === modelId);
273
if (found) {
274
+ const expirationDate = new Date();
275
+ expirationDate.setMonth(expirationDate.getMonth() + 1)
276
found["purchased"] = {
- expiresAt: new Date(), // get this info from the response
277
+ expiresAt: expirationDate, // get this info from the response
278
numberOfSeats, // get this info from the response
279
};
280
this.__populateModels();
0 commit comments