Skip to content

Commit 6204827

Browse files
Removed data from enable_job_application_form not open
1 parent 6acb681 commit 6204827

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/server/services/recruitCRM.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,9 @@ export default class RecruitCRMService {
210210
}
211211
const data = await response.json();
212212

213-
// If job not open return just job status
214-
if (data.job_status && data.job_status.id !== 1) {
213+
// If job or form not open return just job status
214+
if ((data.job_status && data.job_status.id !== 1)
215+
|| data.enable_job_application_form !== 1) {
215216
return res.send({
216217
job_status: data.job_status,
217218
});

0 commit comments

Comments
 (0)