Compare commits

..

No commits in common. "15a09789a05af8d0bd27f18259789bcf3f267db0" and "c494a90227ff0f37d54c629ea46e2ca4567e035c" have entirely different histories.

3 changed files with 3 additions and 8 deletions

View File

@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "1.3.47"
current_version = "1.3.46"
commit = true
tag = true
tag_name = "{new_version}"

View File

@ -1 +1 @@
1.3.47
1.3.46

7
app.py
View File

@ -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