diff --git a/src/main/java/hhn/labsw/bugageocaching/controller/Controller.java b/src/main/java/hhn/labsw/bugageocaching/controller/Controller.java index c1e0bd2..de86d5d 100644 --- a/src/main/java/hhn/labsw/bugageocaching/controller/Controller.java +++ b/src/main/java/hhn/labsw/bugageocaching/controller/Controller.java @@ -979,8 +979,8 @@ public class Controller { @ApiResponse(code = 400, message = "Something went wrong at verification") }) @CrossOrigin(origins = "http://localhost:8081") // only for dev purpose - @RequestMapping(value = "/api/getStationPOIS", method = RequestMethod.GET, produces = "application/json") - public ResponseEntity getStationPOIS(@RequestParam String token) { + @RequestMapping(value = "/api/getMyStationPOIS", method = RequestMethod.GET, produces = "application/json") + public ResponseEntity getMyStationPOIS(@RequestParam String token) { // verify user ResponseEntity verifyToken = VerificationUtil.verifyToken(token);