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.immae.eu/?a=commitdiff_plain;h=65b3ed25fc33c63ab2c56372c1a010541f8fddc2;hp=9a989f8164fec08b01ea4166b6f938bd85de0a6b;p=github%2FChocobozzz%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 = {