Skip to content

Commit

Permalink
Update RestAPIController.java
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl committed Nov 9, 2023
1 parent 85b1716 commit 0e9c59f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public String updatecart(Model model, OAuth2AuthenticationToken token, HttpServl

// helper api call for soul machines dp demo...
@PostMapping(value = "/api/completecart", produces = MediaType.TEXT_HTML_VALUE)
public String completecart(Model model, OAuth2AuthenticationToken token, HttpServletRequest request) {
public String completecart(Model model, OAuth2AuthenticationToken token, HttpServletRequest request, @RequestParam Map<String, String> params) {
this.sessionUser.getTelemetryClient().trackEvent(
String.format("PetStoreApp user %s requesting complete cart", this.sessionUser.getName()),
this.sessionUser.getCustomEventProperties(), null);
Expand Down

0 comments on commit 0e9c59f

Please sign in to comment.