@@ -22,7 +22,7 @@ public class PlatformController extends BasePlatformController {
22
22
public CatalogPlatformModels .ProductListingResponseV2 getProducts (HttpServletRequest request ) {
23
23
try {
24
24
PlatformClient platformClient = (PlatformClient ) request .getAttribute ("platformClient" );
25
- return platformClient .catalog .getProducts (Collections .emptyList (), Collections .emptyList (), Collections .emptyList (), Collections .emptyList (), Collections .emptyList (), "" , "" , Collections .emptyList (), "" , Collections .emptyList (), 1 , 10 , "" , "" , "" );
25
+ return platformClient .catalog .getProducts (Collections .emptyList (), Collections .emptyList (), Collections .emptyList (), Collections .emptyList (), Collections .emptyList (), "" , "" , Collections .emptyList (), "" , Collections .emptyList (), 1 , 10 , "number " , "latest " , "" );
26
26
27
27
} catch (Exception e ) {
28
28
System .out .println (e .getMessage ());
@@ -34,7 +34,7 @@ public CatalogPlatformModels.ProductListingResponseV2 getProducts(HttpServletReq
34
34
public CatalogPlatformModels .RawProductListingResponse getAppProducts (@ PathVariable ("application_id" ) String applicationId , HttpServletRequest request ) {
35
35
try {
36
36
PlatformClient platformClient = (PlatformClient ) request .getAttribute ("platformClient" );
37
- return platformClient .application (applicationId ).catalog .getAppProducts (Collections .emptyList (), Collections .emptyList (), Collections .emptyList (), Collections .emptyList (), Collections .emptyList (), "" , "" , Collections . emptyList (), "" , Collections . emptyList (), 1 , 10 , "number" , "latest" , "" );
37
+ return platformClient .application (applicationId ).catalog .getAppProducts (Collections .emptyList (),Collections .emptyList (), Collections .emptyList (), Collections .emptyList (), Collections .emptyList (), 1 , 10 , "" );
38
38
39
39
} catch (Exception e ) {
40
40
System .out .println (e .getMessage ());
0 commit comments