From abf7aaeda3a39aecac98756c19b275405d869cb5 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Wed, 2 Dec 2020 15:46:43 +0100 Subject: [PATCH] Fixed import ref #11 --- src/models/Scan.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/models/Scan.ts b/src/models/Scan.ts index 8fb7215..38c18c9 100644 --- a/src/models/Scan.ts +++ b/src/models/Scan.ts @@ -1,5 +1,6 @@ import { PrimaryGeneratedColumn, Column, ManyToOne } from "typeorm"; import { + IsBoolean, IsInt, IsNotEmpty, IsOptional, @@ -38,6 +39,6 @@ export abstract class Scan { * Is the scan valid (for fraud reasons). */ @Column() - @Boolean() + @IsBoolean() valid = true; }