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; }