leonnicolas 4 years ago
parent 1cfa73c52d
commit 7b03942afc
No known key found for this signature in database
GPG Key ID: 088D0743E2B65C07

@ -315,7 +315,7 @@ export class ParticipantAPI extends DataSource {
throw new UserInputError('Participant ist not active in the specified dateRange'); throw new UserInputError('Participant ist not active in the specified dateRange');
} }
} else if (engagement.dateRange || engagement.dateRange) { } else if (engagement.dateRange || engagement.dateRange) {
throw new UserInputError('Please specify participantId adn the dateRange'); throw new UserInputError('Please specify participantId and the dateRange');
} }
await entityManager.getRepository(Engagement) await entityManager.getRepository(Engagement)
.createQueryBuilder('engagement') .createQueryBuilder('engagement')

Loading…
Cancel
Save