Skip to content

Commit 461e502

Browse files
committed
hardcoded for now
1 parent 9b88c5d commit 461e502

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

services/static-webserver/client/source/class/osparc/study/PricingUnitLicense.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ qx.Class.define("osparc.study.PricingUnitLicense", {
3737
switch (id) {
3838
case "rental-period":
3939
control = new qx.ui.basic.Label().set({
40-
value: this.tr("Duration: 1 year"),
40+
value: this.tr("Duration: 1 year"), // hardcoded for now
4141
font: "text-14",
4242
});
4343
this._add(control);

services/static-webserver/client/source/class/osparc/vipMarket/VipMarket.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ qx.Class.define("osparc.vipMarket.VipMarket", {
230230
licensedItemsStore.purchaseLicensedItem(licensedItemId, walletId, pricingPlanId, pricingUnitId, numberOfSeats)
231231
.then(() => {
232232
const expirationDate = new Date();
233-
expirationDate.setMonth(expirationDate.getMonth() + 1); // rented for one month
233+
expirationDate.setYear(expirationDate.getYear() + 1); // hardcoded for now: rented for one year from now
234234
const purchaseData = {
235235
expiresAt: expirationDate, // get this info from the response
236236
numberOfSeats, // get this info from the response

0 commit comments

Comments
 (0)