Skip to content

Commit 7e3a208

Browse files
authored
Merge pull request #93 from yoution/issue-taas-475
resolve: topcoder-platform/taas-apis#475
2 parents a34719e + b81cf3a commit 7e3a208

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/scripts/createIndex.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ async function createIndex () {
5252
jobId: { type: 'keyword' },
5353
userId: { type: 'keyword' },
5454
status: { type: 'keyword' },
55+
viewedByCustomer: { type: 'boolean' },
5556
externalId: { type: 'keyword' },
5657
resume: { type: 'text' },
5758
remark: { type: 'keyword' },

src/services/JobCandidateProcessorService.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ processCreate.schema = {
101101
createdAt: Joi.date().required(),
102102
createdBy: Joi.string().uuid().required(),
103103
updatedAt: Joi.date().allow(null),
104+
viewedByCustomer: Joi.boolean().required(),
104105
updatedBy: Joi.string().uuid().allow(null),
105106
status: Joi.jobCandidateStatus().required(),
106107
externalId: Joi.string().allow(null),

0 commit comments

Comments
 (0)