Enrolment issue
This commit is contained in:
@@ -31,7 +31,6 @@ export function register(app) {
|
||||
res.json({
|
||||
enrolledStudySlugs: Array.isArray(user.enrolledStudySlugs) ? user.enrolledStudySlugs : [],
|
||||
availableStudies: getStudyCatalog()
|
||||
.filter(study => study.status !== 'planned')
|
||||
.map(study => ({ slug: study.slug, title: study.title })),
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user