File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
services/static-webserver/client/source/class/osparc Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -642,6 +642,10 @@ qx.Class.define("osparc.data.Resources", {
642642 method : "GET" ,
643643 url : statics . API + "/admin/pricing-plans"
644644 } ,
645+ getPage : {
646+ method : "GET" ,
647+ url : statics . API + "/admin/pricing-plans?offset={offset}&limit={limit}"
648+ } ,
645649 getOne : {
646650 method : "GET" ,
647651 url : statics . API + "/admin/pricing-plans/{pricingPlanId}"
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ qx.Class.define("osparc.store.Pricing", {
3333 pricingPlansCached : null ,
3434
3535 fetchPricingPlans : function ( ) {
36- return osparc . data . Resources . fetch ( "pricingPlans" , "get ")
36+ return osparc . data . Resources . getInstance ( ) . getAllPages ( "pricingPlans" )
3737 . then ( pricingPlansData => {
3838 const pricingPlans = [ ] ;
3939 pricingPlansData . forEach ( pricingPlanData => {
You can’t perform that action at this time.
0 commit comments