Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[API] fix POST to candidates type error (aces#6877)
Fix for error: ``` PHP Fatal error: Uncaught TypeError: Argument 4 passed to Candidate::createNew() must be an instance of LORIS\\StudyEntities\\Candidate\\Sex, string given, called in /var/www/loris/modules/api/php/endpoints/candidates.class.inc on line 213 ``` while POSTing to API to create a candidate.
- Loading branch information