Fixed import

ref #11
This commit is contained in:
Nicolai Ort 2020-12-02 15:46:43 +01:00
parent c82cc9a670
commit abf7aaeda3

View File

@ -1,5 +1,6 @@
import { PrimaryGeneratedColumn, Column, ManyToOne } from "typeorm"; import { PrimaryGeneratedColumn, Column, ManyToOne } from "typeorm";
import { import {
IsBoolean,
IsInt, IsInt,
IsNotEmpty, IsNotEmpty,
IsOptional, IsOptional,
@ -38,6 +39,6 @@ export abstract class Scan {
* Is the scan valid (for fraud reasons). * Is the scan valid (for fraud reasons).
*/ */
@Column() @Column()
@Boolean() @IsBoolean()
valid = true; valid = true;
} }