Skip to content

Commit

Permalink
fx
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy-py committed May 4, 2024
1 parent e013c19 commit 844d335
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions controllers/jobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,7 @@ exports.formJobApplicants = async (req, res) => {
try {
const jobId = req.params.jobId;
const applicants = await Jobs.findById(jobId).select({
_id: 0,
external_applicants: 1
});

Expand Down
2 changes: 2 additions & 0 deletions swagger/doc.job.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@
* get:
* tags:
* - Job
* security:
* - BearerAuth: []
* summary: Get all form applicants for a job
* parameters:
* - in: path
Expand Down

0 comments on commit 844d335

Please sign in to comment.