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 844d335 commit 106ee50
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controllers/jobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,9 @@ exports.formJobApplicants = async (req, res) => {
external_applicants: 1
});

if (!null)
return res.status(400).json({ status: 'fail', message: 'Job not found' });

return res.status(200).json({
status: 'success',
message: 'Job form applicants retrieved successfully',
Expand Down

0 comments on commit 106ee50

Please sign in to comment.