From: Chocobozzz Date: Wed, 13 Dec 2017 16:00:01 +0000 (+0100) Subject: Fix job model X-Git-Tag: v0.0.1-alpha~134 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=65b3ed25fc33c63ab2c56372c1a010541f8fddc2;p=oweals%2Fpeertube.git Fix job model --- diff --git a/server/models/job/job.ts b/server/models/job/job.ts index 35c357e69..637d4f16c 100644 --- a/server/models/job/job.ts +++ b/server/models/job/job.ts @@ -30,10 +30,10 @@ export class JobModel extends Model { handlerInputData: any @CreatedAt - creationDate: Date + createdAt: Date @UpdatedAt - updatedOn: Date + updatedAt: Date static listWithLimitByCategory (limit: number, state: JobState, jobCategory: JobCategory) { const query = {