Fixed import

ref #11
This commit is contained in:
Nicolai Ort 2020-12-02 15:46:43 +01:00
parent c82cc9a670
commit abf7aaeda3
1 changed files with 2 additions and 1 deletions

View File

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