fixed nameing

This commit is contained in:
Marcel 2021-11-14 22:09:10 +01:00
parent 333f6aab21
commit 613c1482d7

View File

@ -17,7 +17,7 @@ public class ValidateIntentWebSubAdapter {
private String environment;
@GetMapping(path = "/auction-started")
public ResponseEntity<String> handleExecutorAddedEvent(@RequestParam("hub.challenge") String challenge) {
public ResponseEntity<String> validateIntent(@RequestParam("hub.challenge") String challenge) {
// Different implementation depending on local development or production
if (environment.equalsIgnoreCase("development")) {
HttpHeaders headers = new HttpHeaders();