diff --git a/src/controllers/ScanStationController.ts b/src/controllers/ScanStationController.ts index e85f31e..7ad2630 100644 --- a/src/controllers/ScanStationController.ts +++ b/src/controllers/ScanStationController.ts @@ -74,7 +74,7 @@ export class ScanStationController { } if (oldStation.id != station.id) { - throw new ScanStationNotFoundError(); + throw new ScanStationIdsNotMatchingError(); } await this.stationRepository.save(await station.updateStation(oldStation));