| @@ -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)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user