Added the laptime to createtrack

ref #71
This commit is contained in:
Nicolai Ort 2021-01-03 17:05:43 +01:00
parent 02f7ddbb37
commit 907259bf73
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ export class Track {
*/
@PrimaryGeneratedColumn()
@IsInt()
id: number;;
id: number;
/**
* The track's name.
@ -47,7 +47,7 @@ export class Track {
@IsInt()
@IsOptional()
@IsPositive()
minimumLapTime: number;
minimumLapTime?: number;
/**
* Used to link scan stations to a certain track.