File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
services/static-webserver/client/source/class/osparc Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1127,10 +1127,14 @@ qx.Class.define("osparc.data.Resources", {
11271127 } ,
11281128 "poUsers" : {
11291129 endpoints : {
1130- search : {
1130+ searchByEmail : {
11311131 method : "GET" ,
11321132 url : statics . API + "/admin/user-accounts:search?email={email}"
11331133 } ,
1134+ searchByGid : {
1135+ method : "GET" ,
1136+ url : statics . API + "/admin/user-accounts:search?gid={gid}"
1137+ } ,
11341138 getPendingUsers : {
11351139 method : "GET" ,
11361140 url : statics . API + "/admin/user-accounts?review_status=PENDING"
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ qx.Class.define("osparc.po.Users", {
8383 email : userEmail . getValue ( )
8484 }
8585 } ;
86- osparc . data . Resources . fetch ( "poUsers" , "search " , params )
86+ osparc . data . Resources . fetch ( "poUsers" , "searchByEmail " , params )
8787 . then ( data => {
8888 findingStatus . setValue ( data . length + this . tr ( " user(s) found" ) ) ;
8989 this . __populateFoundUsersLayout ( data ) ;
You can’t perform that action at this time.
0 commit comments