diff --git a/backend/timesheets/routes.py b/backend/timesheets/routes.py index 6a815bf4..0a02dcbb 100644 --- a/backend/timesheets/routes.py +++ b/backend/timesheets/routes.py @@ -221,7 +221,8 @@ def get(self, consultant_username): json_dict[timesheet.id] = {"name": timesheet.consultant_name, "username": consultant.username, "status": timesheet.status, "workStart": timesheet.start_work_time, - "endWork": timesheet.end_work_time, "date": timesheet.day, "weekStartDate": timesheet.week_start_date} + "endWork": timesheet.end_work_time, "date": timesheet.day, "weekStartDate": timesheet.week_start_date, + "timesheet_id": timesheet.id} return jsonify(json_dict), 200