Compare commits
No commits in common. "15a09789a05af8d0bd27f18259789bcf3f267db0" and "c494a90227ff0f37d54c629ea46e2ca4567e035c" have entirely different histories.
15a09789a0
...
c494a90227
@ -1,5 +1,5 @@
|
||||
[tool.bumpversion]
|
||||
current_version = "1.3.47"
|
||||
current_version = "1.3.46"
|
||||
commit = true
|
||||
tag = true
|
||||
tag_name = "{new_version}"
|
||||
|
7
app.py
7
app.py
@ -176,12 +176,7 @@ def send_test_notification():
|
||||
if not session.get("logged_in"):
|
||||
return jsonify({'error': 'Unauthorized'}), 401
|
||||
|
||||
try:
|
||||
subscriptions = get_push_subscriptions()
|
||||
except Exception as e:
|
||||
print(f"Error getting push subscriptions: {e}")
|
||||
return jsonify({"error": "Could not retrieve push subscriptions from the database."}), 500
|
||||
|
||||
subscriptions = get_push_subscriptions()
|
||||
if not subscriptions:
|
||||
return jsonify({"message": "No push subscriptions found."}), 404
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user