Compare commits
No commits in common. "ca7a84eb3e921fff43894fda497f63d04ab226ee" and "937a9fad4d8914b83fc6300f776c0720b756a9f4" have entirely different histories.
ca7a84eb3e
...
937a9fad4d
@ -1,5 +1,4 @@
|
|||||||
import { IsInt, IsOptional, IsPositive } from 'class-validator';
|
import { IsInt, IsPositive } from 'class-validator';
|
||||||
import { NotAcceptableError } from 'routing-controllers';
|
|
||||||
import { getConnection } from 'typeorm';
|
import { getConnection } from 'typeorm';
|
||||||
import { RunnerCardNotFoundError } from '../../../errors/RunnerCardErrors';
|
import { RunnerCardNotFoundError } from '../../../errors/RunnerCardErrors';
|
||||||
import { RunnerNotFoundError } from '../../../errors/RunnerErrors';
|
import { RunnerNotFoundError } from '../../../errors/RunnerErrors';
|
||||||
@ -23,12 +22,10 @@ export class CreateTrackScan {
|
|||||||
/**
|
/**
|
||||||
* The scanning station's id that created the scan.
|
* The scanning station's id that created the scan.
|
||||||
* Mainly used for logging and traceing back scans (or errors).
|
* Mainly used for logging and traceing back scans (or errors).
|
||||||
* You don't have to provide the station if you're authenticateing via a scanstation token (The server takes care of it for you).
|
|
||||||
*/
|
*/
|
||||||
@IsInt()
|
@IsInt()
|
||||||
@IsPositive()
|
@IsPositive()
|
||||||
@IsOptional()
|
station: number;
|
||||||
station?: number;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new Track entity from this.
|
* Creates a new Track entity from this.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user