-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix to change status in application stage process
- Loading branch information
1 parent
02e8d44
commit 1e5c600
Showing
3 changed files
with
7 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,69 +10,7 @@ const seedDeleteTrainee = async () => { | |
return; | ||
} | ||
|
||
const deleteTrainee = [ | ||
{ | ||
email: '[email protected]', | ||
firstName: 'Ben', | ||
lastName: 'iraa', | ||
deleted_at: false, | ||
cycle_id: cycle._id, | ||
coverLetterUrl: "http://example.com/coverLetter.pdf", | ||
idDocumentUrl: "http://example.com/idDocument.pdf", | ||
resumeUrl: "http://example.com/resume.pdf" | ||
|
||
}, | ||
{ | ||
email: '[email protected]', | ||
firstName: 'Test', | ||
lastName: 'user', | ||
deleted_at: false, | ||
cycle_id: cycle._id, | ||
coverLetterUrl: "http://example.com/coverLetter.pdf", | ||
idDocumentUrl: "http://example.com/idDocument.pdf", | ||
resumeUrl: "http://example.com/resume.pdf" | ||
|
||
|
||
}, | ||
{ | ||
email: '[email protected]', | ||
firstName: 'iradukunda', | ||
lastName: 'benjamin', | ||
deleted_at: false, | ||
cycle_id: cycle._id, | ||
coverLetterUrl: "http://example.com/coverLetter.pdf", | ||
idDocumentUrl: "http://example.com/idDocument.pdf", | ||
resumeUrl: "http://example.com/resume.pdf" | ||
|
||
|
||
}, | ||
{ | ||
email: '[email protected]', | ||
firstName: 'carlos', | ||
lastName: 'Bz', | ||
deleted_at: false, | ||
cycle_id: cycle._id, | ||
coverLetterUrl: "http://example.com/coverLetter.pdf", | ||
idDocumentUrl: "http://example.com/idDocument.pdf", | ||
resumeUrl: "http://example.com/resume.pdf" | ||
|
||
|
||
}, | ||
{ | ||
email: '[email protected]', | ||
firstName: 'blaise', | ||
lastName: 'k', | ||
deleted_at: false, | ||
cycle_id: cycle._id, | ||
coverLetterUrl: "http://example.com/coverLetter.pdf", | ||
idDocumentUrl: "http://example.com/idDocument.pdf", | ||
resumeUrl: "http://example.com/resume.pdf" | ||
|
||
|
||
}, | ||
]; | ||
await TraineeApplicant.deleteMany({ deleteTrainee }); | ||
await TraineeApplicant.insertMany(deleteTrainee); | ||
await TraineeApplicant.deleteMany({}); | ||
await traineEAttributes.deleteMany({}); | ||
return null; | ||
} | ||
|