diff --git a/src/models.py b/src/models.py index d3a33cc300684b155029b9820b97f8318a6774f2..2aba803b156c5997cf9f045babf1e08f16d29a63 100644 --- a/src/models.py +++ b/src/models.py @@ -403,8 +403,8 @@ class ClockInfo(db.Model): log_time = Column(DateTime) current_track = None # Populated live from within `get_info(..)` planned_playlist = Column(String(4096)) # Stringified "#/components/schemas/Playlist" OpenAPI JSON object - current_timeslot = Column(String(2048)) # Stringified "#/components/schemas/Schedule" OpenAPI JSON object - next_timeslot = Column(String(2048)) # Stringified "#/components/schemas/Schedule" OpenAPI JSON object + current_timeslot = Column(String(2048)) # Stringified "#/components/schemas/Timeslot" OpenAPI JSON object + next_timeslot = Column(String(2048)) # Stringified "#/components/schemas/Timeslot" OpenAPI JSON object def __init__(self): @@ -462,7 +462,7 @@ class ClockInfo(db.Model): if current_track: info["current_track"] = track_schema.dump(current_track) - # Append the missing planned playlist items to the ones played # FIXME do it client-site + # Append the missing planned playlist items to the ones played if data.planned_playlist: info["planned_playlist"] = json.loads(data.planned_playlist) else: