"Update database configuration for improved performance (feat)"

This commit is contained in:
Till Tomczak 2025-05-29 18:11:20 +02:00
parent 9ee6e015b5
commit bd0587e034
3 changed files with 11 additions and 0 deletions

View File

@ -5154,6 +5154,17 @@ def refresh_dashboard():
# ===== ADMIN GASTAUFTRÄGE API-ENDPUNKTE =====
@app.route('/api/admin/guest-requests/test', methods=['GET'])
def test_admin_guest_requests():
"""Test-Endpunkt für Guest Requests Routing"""
app_logger.info("Test-Route /api/admin/guest-requests/test aufgerufen")
return jsonify({
'success': True,
'message': 'Test-Route funktioniert',
'user_authenticated': current_user.is_authenticated,
'user_is_admin': current_user.is_admin if current_user.is_authenticated else False
})
@app.route('/api/admin/guest-requests', methods=['GET'])
@admin_required
def get_admin_guest_requests():

Binary file not shown.

Binary file not shown.