Fix job model
This commit is contained in:
parent
9a989f8164
commit
65b3ed25fc
|
@ -30,10 +30,10 @@ export class JobModel extends Model<JobModel> {
|
||||||
handlerInputData: any
|
handlerInputData: any
|
||||||
|
|
||||||
@CreatedAt
|
@CreatedAt
|
||||||
creationDate: Date
|
createdAt: Date
|
||||||
|
|
||||||
@UpdatedAt
|
@UpdatedAt
|
||||||
updatedOn: Date
|
updatedAt: Date
|
||||||
|
|
||||||
static listWithLimitByCategory (limit: number, state: JobState, jobCategory: JobCategory) {
|
static listWithLimitByCategory (limit: number, state: JobState, jobCategory: JobCategory) {
|
||||||
const query = {
|
const query = {
|
||||||
|
|
Loading…
Reference in New Issue