From ddd241625ac54ccf775145d93f416bcf21abf290 Mon Sep 17 00:00:00 2001 From: David Trattnig <david.trattnig@o94.at> Date: Wed, 25 Nov 2020 13:43:08 +0100 Subject: [PATCH] Update docs. engine-clock#11 --- src/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/models.py b/src/models.py index d3a33cc..2aba803 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: -- GitLab