File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
services/static-webserver/client/source/class/osparc/vipMarket Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -271,10 +271,10 @@ qx.Class.define("osparc.vipMarket.VipMarket", {
271271 }
272272 osparc . data . Resources . fetch ( "market" , "purchase" , params )
273273 . then ( ( ) => {
274- const found = this . __anatomicalModels . find ( model => model [ "ID " ] === modelId ) ;
274+ const found = this . __anatomicalModels . find ( model => model [ "modelId " ] === modelId ) ;
275275 if ( found ) {
276276 const expirationDate = new Date ( ) ;
277- expirationDate . setMonth ( expirationDate . getMonth ( ) + 1 )
277+ expirationDate . setMonth ( expirationDate . getMonth ( ) + 1 ) ; // rented for one month
278278 found [ "purchases" ] . push ( {
279279 expiresAt : expirationDate , // get this info from the response
280280 numberOfSeats, // get this info from the response
You can’t perform that action at this time.
0 commit comments