Implemented proper scan invalidation

ref #78
This commit is contained in:
2021-01-09 16:47:54 +01:00
parent 0c86e5dae1
commit 61cf0fc08d
3 changed files with 14 additions and 14 deletions

View File

@@ -1,5 +1,4 @@
import {
IsDateString,
IsInt,
IsNotEmpty,
@@ -57,9 +56,8 @@ export class TrackScan extends Scan {
* Will be used to implement fraud detection.
*/
@Column()
@IsDateString()
@IsNotEmpty()
timestamp: string;
@IsInt()
timestamp: number;
/**
* Turns this entity into it's response class.