From 4ae81bcbaeaf62c4e3559f33716d0122f5d4df4b Mon Sep 17 00:00:00 2001 From: francoisdillinger <elmojester@gmail.com> Date: Mon, 17 Apr 2023 01:57:15 -0500 Subject: [PATCH] Now pulling from total_cost_watts_water table --- backend/api/routes/costData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/api/routes/costData.py b/backend/api/routes/costData.py index 35065ae..5ec5c77 100644 --- a/backend/api/routes/costData.py +++ b/backend/api/routes/costData.py @@ -12,7 +12,7 @@ def get_costData(): def get_data(): conn = get_db_connection() cur = conn.cursor() - cur.execute('SELECT * FROM total_cost_watts;') + cur.execute('SELECT * FROM total_cost_watts_water;') all_costData = cur.fetchall() cur.close() return all_costData \ No newline at end of file -- GitLab