From 907259bf737f4ad5bcc5d65f152c3f54ce2f6408 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Sun, 3 Jan 2021 17:05:43 +0100 Subject: [PATCH] Added the laptime to createtrack ref #71 --- src/models/entities/Track.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/entities/Track.ts b/src/models/entities/Track.ts index 0636606..19a08fa 100644 --- a/src/models/entities/Track.ts +++ b/src/models/entities/Track.ts @@ -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.