Add the report routes to the route table

This commit is contained in:
ai-bot committed 2026-11-14 12:22:20 +00:00
1 parent c7bcc54154
commit 02d2e7494e
1 file changed
+2
+2
View File
@@ -72,6 +72,8 @@ ROUTES = (
("PUT", r"^/api/prices/(?P<date>\d{4}-\d{2}-\d{2})$", "prices_put"), ("PUT", r"^/api/prices/(?P<date>\d{4}-\d{2}-\d{2})$", "prices_put"),
("GET", r"^/api/settings$", "settings_get"), ("GET", r"^/api/settings$", "settings_get"),
("PATCH", r"^/api/settings$", "settings_patch"), ("PATCH", r"^/api/settings$", "settings_patch"),
("GET", r"^/api/report$", "report_get"),
("GET", r"^/api/report/export\.csv$", "report_export"),
) )
# Routes that answer without a session. The rest need one, and every mutating # Routes that answer without a session. The rest need one, and every mutating