This commit is contained in:
2026-07-30 01:09:58 +02:00
parent 1331afa4da
commit b71f2e9089
2 changed files with 2 additions and 5 deletions
-3
View File
@@ -12241,9 +12241,6 @@ def test_push_notification():
if 'username' not in session:
return jsonify({'success': False, 'error': 'Not authenticated'}), 401
if not us.is_admin(session['username']):
return jsonify({'success': False, 'error': 'Admin access required'}), 403
try:
data = request.get_json(silent=True) or {}
target_user = data.get('target_user', session['username'])