From 9011ce87d212d086e6cb65c2e8753afc48f0fe73 Mon Sep 17 00:00:00 2001 From: delterr <hasanahmadcodes@gmail.com> Date: Wed, 3 Apr 2024 17:48:53 +0100 Subject: [PATCH] update update --- .../679eaac484e8efec851e5d02a21b12ac | Bin 79 -> 79 bytes backend/timesheets/routes.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/flask_session/679eaac484e8efec851e5d02a21b12ac b/backend/flask_session/679eaac484e8efec851e5d02a21b12ac index 38c94ea60c0aff07b8f4fda0305dd3870d9caffa..cf3196bc86d7f3dedbdcf08f36832d3aa6904644 100644 GIT binary patch delta 7 OcmebGXZ$~r(GLI$4g!Aw delta 7 OcmebGXWToH(GLI#1_C_* diff --git a/backend/timesheets/routes.py b/backend/timesheets/routes.py index 96446237..f6959a0d 100644 --- a/backend/timesheets/routes.py +++ b/backend/timesheets/routes.py @@ -155,7 +155,7 @@ def get(self): json_dict = {} timesheet_ids = [timesheet.id for timesheet in timesheets] for timesheet in timesheets: - json_dict[timesheet.id] = {"name": timesheet.consultant_name, "status": timesheet.status} + json_dict[timesheet.id] = {"id": timesheet.id, "name": timesheet.consultant_name, "status": timesheet.status} return jsonify(json_dict), 200 class ListWeeklyTimesheetsView(MethodView):