From 3ade00fe08466ef09569bdf54e38199176a7d775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Sat, 13 Sep 2025 22:47:02 +0200 Subject: [PATCH] commit2 permissions --- app.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 57c949d..f76fffe 100644 --- a/app.py +++ b/app.py @@ -1069,7 +1069,8 @@ def resolve_range(range_type: str): elif rt in ("last30days", "last_30_days"): sd = (now - timedelta(days=30)).date().strftime("%Y-%m-%d") ed = now.date().strftime("%Y-%m-%d") - bucket = "monthly" elif rt in ("last90days", "last_90_days"): + bucket = "monthly" + elif rt in ("last90days", "last_90_days"): sd = (now - timedelta(days=90)).date().strftime("%Y-%m-%d") ed = now.date().strftime("%Y-%m-%d") bucket = "monthly" @@ -2140,7 +2141,8 @@ def expenses_data(): @app.route("/share/") -@app.route("/guest-list/") +#@app.route("/guest-list/") +@app.route("/shared/") def shared_list(token=None, list_id=None): now = datetime.now(timezone.utc)