commit2 permissions
This commit is contained in:
6
app.py
6
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/<token>")
|
||||
@app.route("/guest-list/<int:list_id>")
|
||||
#@app.route("/guest-list/<int:list_id>")
|
||||
@app.route("/shared/<int:list_id>")
|
||||
def shared_list(token=None, list_id=None):
|
||||
now = datetime.now(timezone.utc)
|
||||
|
||||
|
Reference in New Issue
Block a user