Skip to content

Commit 502d1cb

Browse files
ID: FPCO-24112; Update arguments of updated getProducts method
1 parent 8f2962d commit 502d1cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/fynd/example/java/controller/PlatformController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public CatalogPlatformModels.ProductListingResponseV2 getProducts(HttpServletReq
3434
public CatalogPlatformModels.RawProductListingResponse getAppProducts(@PathVariable("application_id") String applicationId, HttpServletRequest request) {
3535
try {
3636
PlatformClient platformClient = (PlatformClient) request.getAttribute("platformClient");
37-
return platformClient.application(applicationId).catalog.getAppProducts(Collections.emptyList(),Collections.emptyList(), Collections.emptyList(), Collections.emptyList(), Collections.emptyList(), 1, 10, "");
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", "");
3838

3939
} catch (Exception e) {
4040
System.out.println(e.getMessage());

0 commit comments

Comments
 (0)