Fix job model

pull/159/head
Chocobozzz 2017-12-13 17:00:01 +01:00
parent 9a989f8164
commit 65b3ed25fc
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -30,10 +30,10 @@ export class JobModel extends Model<JobModel> {
handlerInputData: any
@CreatedAt
creationDate: Date
createdAt: Date
@UpdatedAt
updatedOn: Date
updatedAt: Date
static listWithLimitByCategory (limit: number, state: JobState, jobCategory: JobCategory) {
const query = {