diff --git a/imports/api/events.ts b/imports/api/events.ts index 9356c23fa..4269989f2 100644 --- a/imports/api/events.ts +++ b/imports/api/events.ts @@ -34,6 +34,7 @@ export const event = async ( createdAt, }: Omit, ): Promise => { + // TODO Maybe some sort of joined view? const patient = await Patients.findOneAsync({_id: patientId}); // TODO Make reactive (maybe)? assert(patient !== undefined); const begin = datetime;