Skip to content

Commit 08e49e3

Browse files
committed
Bug fix 240
1 parent e9e7416 commit 08e49e3

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/common/helper.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ esIndexPropertyMapping[config.get('esConfig.ES_INDEX_JOB_CANDIDATE')] = {
109109
createdAt: { type: 'date' },
110110
createdBy: { type: 'keyword' },
111111
updatedAt: { type: 'date' },
112-
updatedBy: { type: 'keyword' }
112+
updatedBy: { type: 'keyword' },
113+
deletedAt: { type: 'date' }
113114
}
114115
},
115116
createdAt: { type: 'date' },

src/services/InterviewService.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,8 @@ partiallyUpdateInterviewByRound.schema = Joi.object().keys({
368368
guestNames: Joi.array().items(Joi.string()).allow(null),
369369
guestEmails: Joi.array().items(Joi.string().email()).allow(null),
370370
status: Joi.interviewStatus(),
371-
rescheduleUrl: Joi.string().allow(null)
371+
rescheduleUrl: Joi.string().allow(null),
372+
deletedAt: Joi.date().allow(null)
372373
}).required().min(1) // at least one key - i.e. don't allow empty object
373374
}).required()
374375

@@ -438,7 +439,8 @@ partiallyUpdateInterviewById.schema = Joi.object().keys({
438439
guestNames: Joi.array().items(Joi.string()).allow(null),
439440
guestEmails: Joi.array().items(Joi.string().email()).allow(null),
440441
status: Joi.interviewStatus(),
441-
rescheduleUrl: Joi.string().allow(null)
442+
rescheduleUrl: Joi.string().allow(null),
443+
deletedAt: Joi.date().allow(null)
442444
}).required().min(1) // at least one key - i.e. don't allow empty object
443445
}).required()
444446

0 commit comments

Comments
 (0)