projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a989f8
)
Fix job model
author
Chocobozzz
<me@florianbigard.com>
Wed, 13 Dec 2017 16:00:01 +0000
(17:00 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Wed, 13 Dec 2017 16:00:01 +0000
(17:00 +0100)
server/models/job/job.ts
patch
|
blob
|
history
diff --git
a/server/models/job/job.ts
b/server/models/job/job.ts
index 35c357e69e95df3064827dc406f1306c1983996a..637d4f16c26930842c7e46dca8e435cb524b39a2 100644
(file)
--- a/
server/models/job/job.ts
+++ b/
server/models/job/job.ts
@@
-30,10
+30,10
@@
export class JobModel extends Model<JobModel> {
handlerInputData: any
@CreatedAt
- creat
ionDate
: Date
+ creat
edAt
: Date
@UpdatedAt
- updated
On
: Date
+ updated
At
: Date
static listWithLimitByCategory (limit: number, state: JobState, jobCategory: JobCategory) {
const query = {