#45 fixed bug when history doesn't work if a doctor is not specified in an event

This commit is contained in:
Eugene Zadyra
2023-03-16 20:59:18 +01:00
parent 1e22d14449
commit 535ecaa0cf
4 changed files with 29 additions and 11 deletions

View File

@@ -104,7 +104,7 @@ case class EventsResponse(events: List[Event]) extends SerializableJsonObject
case class Event(
date: ZonedDateTime,
clinic: Option[EventClinic],
doctor: EventDoctor,
doctor: Option[EventDoctor],
eventId: Long,
status: String,
title: String