Renamed property, so it fits with the rest of the nameing

ref #11
This commit is contained in:
Nicolai Ort 2020-12-01 18:50:06 +01:00
parent 79eecbb329
commit 084e2d9930

View File

@ -29,10 +29,10 @@ export class Track {
name: string; name: string;
/** /**
* The track's length in meters. * The track's length/distance in meters.
*/ */
@Column() @Column()
@IsInt() @IsInt()
@IsPositive() @IsPositive()
length: number; distance: number;
} }