fixed more bugs
This commit is contained in:
parent
2a5dbd9e72
commit
749fcd119a
@ -231,6 +231,7 @@ public class Controller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (cache.getStationen().get(i - 1).equals(aktuelleStation)) {
|
if (cache.getStationen().get(i - 1).equals(aktuelleStation)) {
|
||||||
|
bearbeitet.setAktuelleStation(station);
|
||||||
return ResponseEntity.status(200).body("OK");
|
return ResponseEntity.status(200).body("OK");
|
||||||
} else {
|
} else {
|
||||||
return ResponseEntity.status(400).body("The scanned station isn´t the correct following station");
|
return ResponseEntity.status(400).body("The scanned station isn´t the correct following station");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user