aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/job/job.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-13 17:00:01 +0100
committerChocobozzz <me@florianbigard.com>2017-12-13 17:00:01 +0100
commit65b3ed25fc33c63ab2c56372c1a010541f8fddc2 (patch)
treeccd1688703de08f48aa8bed178450765279d27da /server/models/job/job.ts
parent9a989f8164fec08b01ea4166b6f938bd85de0a6b (diff)
downloadPeerTube-65b3ed25fc33c63ab2c56372c1a010541f8fddc2.tar.gz
PeerTube-65b3ed25fc33c63ab2c56372c1a010541f8fddc2.tar.zst
PeerTube-65b3ed25fc33c63ab2c56372c1a010541f8fddc2.zip
Fix job model
Diffstat (limited to 'server/models/job/job.ts')
-rw-r--r--server/models/job/job.ts4
1 files changed, 2 insertions, 2 deletions
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<JobModel> {
30 handlerInputData: any 30 handlerInputData: any
31 31
32 @CreatedAt 32 @CreatedAt
33 creationDate: Date 33 createdAt: Date
34 34
35 @UpdatedAt 35 @UpdatedAt
36 updatedOn: Date 36 updatedAt: Date
37 37
38 static listWithLimitByCategory (limit: number, state: JobState, jobCategory: JobCategory) { 38 static listWithLimitByCategory (limit: number, state: JobState, jobCategory: JobCategory) {
39 const query = { 39 const query = {