parent
5510cbb8e9
commit
c8f941a779
@ -74,7 +74,7 @@ export class ScanStationController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (oldStation.id != station.id) {
|
if (oldStation.id != station.id) {
|
||||||
throw new ScanStationNotFoundError();
|
throw new ScanStationIdsNotMatchingError();
|
||||||
}
|
}
|
||||||
|
|
||||||
await this.stationRepository.save(await station.updateStation(oldStation));
|
await this.stationRepository.save(await station.updateStation(oldStation));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user