From a30c9f1fdf208aaa4bbe290d5fd6a99dd4f6dc41 Mon Sep 17 00:00:00 2001 From: L4168 <L4168@student.jamk.fi> Date: Thu, 25 Jul 2019 10:29:02 +0300 Subject: [PATCH] max score 99 > 999 --- src/score/score.dto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/score/score.dto.ts b/src/score/score.dto.ts index 99955f5..2feecbf 100644 --- a/src/score/score.dto.ts +++ b/src/score/score.dto.ts @@ -3,7 +3,7 @@ import { IsNumber, Min, Max, IsUUID } from 'class-validator'; export class ScoreDTO { @IsNumber() @Min(1) - @Max(99) + @Max(999) score: number; @IsUUID('4') faction: string; -- GitLab