diff --git a/birb_scheduler_teller/views/assignment_view.py b/birb_scheduler_teller/views/assignment_view.py index 78c8c34..6ff00ec 100644 --- a/birb_scheduler_teller/views/assignment_view.py +++ b/birb_scheduler_teller/views/assignment_view.py @@ -97,4 +97,6 @@ class AssignmentView(FlaskView): name = key[10:] current_scheduling_table[name] = target - return jsonify(current_scheduling_table) + default_target = redis_client.get('DEFAULT:SCHEDULED') + + return jsonify({"scheduling_table": current_scheduling_table, "default_target": default_target})