File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
services/static-webserver/client/source/class/osparc/po Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -77,12 +77,13 @@ qx.Class.define("osparc.po.UsersPending", {
7777 email,
7878 } ,
7979 } ;
80+ params . data [ "invitation" ] = { } ;
8081 const extraCreditsInUsd = form . getItems ( ) [ "credits" ] . getValue ( ) ;
8182 if ( extraCreditsInUsd > 0 ) {
82- params . data [ "extraCreditsInUsd" ] = extraCreditsInUsd ;
83+ params . data [ "invitation" ] [ " extraCreditsInUsd"] = extraCreditsInUsd ;
8384 }
8485 if ( form . getItems ( ) [ "withExpiration" ] . getValue ( ) ) {
85- params . data [ "trialAccountDays" ] = form . getItems ( ) [ "trialDays" ] . getValue ( ) ;
86+ params . data [ "invitation" ] [ " trialAccountDays"] = form . getItems ( ) [ "trialDays" ] . getValue ( ) ;
8687 }
8788 osparc . data . Resources . fetch ( "poUsers" , "approveUser" , params )
8889 . then ( ( ) => {
You can’t perform that action at this time.
0 commit comments