Dev #65
|
@ -17,7 +17,7 @@ public class ValidateIntentWebSubAdapter {
|
||||||
private String environment;
|
private String environment;
|
||||||
|
|
||||||
@GetMapping(path = "/auction-started")
|
@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
|
// Different implementation depending on local development or production
|
||||||
if (environment.equalsIgnoreCase("development")) {
|
if (environment.equalsIgnoreCase("development")) {
|
||||||
HttpHeaders headers = new HttpHeaders();
|
HttpHeaders headers = new HttpHeaders();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user