parent
5510cbb8e9
commit
c8f941a779
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue