Skip to content

Commit

Permalink
webhook support
Browse files Browse the repository at this point in the history
  • Loading branch information
girishbharambe committed Aug 22, 2024
1 parent a102036 commit 08552d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class WebhookController {
@Autowired
WebhookService webhookService;

@PostMapping(path = "/event/webhook")
@PostMapping(path = "/api/webhook-events")
public ResponseEntity<Object> receiveWebhookEvents(HttpServletRequest httpServletRequest) {
try {
webhookService.processWebhook(httpServletRequest);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ext:
scopes: ""
base_url: ${EXTENSION_BASE_URL}
webhook:
api_path: "/event/webhook"
api_path: "/api/webhook-events"
notification_email: "[email protected]"
event_map:
- name: "product/delete"
Expand Down

0 comments on commit 08552d2

Please sign in to comment.