diff --git a/routes/shift.py b/routes/shift.py index 07aaec8..2889460 100644 --- a/routes/shift.py +++ b/routes/shift.py @@ -106,6 +106,9 @@ def list_shifts(): "interval_end": shift.interval_end.strftime("%H:%M") if shift.interval_end else None, 'type_interval': shift.type_interval, 'service_instance_id': shift.service_instance_id, + 'description': shift.description, # Adicionando a descrição + 'tolerance': shift.tolerance, # Adicionando a tolerância + # Adicionando os dias associados (TimeSchedules) 'time_schedules': [