"Refactor app. Update import statements and for improved usability improvements (feat(feat): Implementing)"
This commit is contained in:
Binary file not shown.
4
app.py
4
app.py
@@ -2231,7 +2231,7 @@ def save_mindmap_layout(mindmap_id):
|
||||
return jsonify({'success': False, 'message': str(e)}), 500
|
||||
|
||||
@app.route('/api/public-mindmap', methods=['GET'])
|
||||
def get_public_mindmap():
|
||||
def get_public_mindmap_nodes():
|
||||
"""Liefert die öffentliche Mindmap für die Knotenübernahme"""
|
||||
try:
|
||||
# Alle öffentlichen Knoten abrufen
|
||||
@@ -2264,7 +2264,7 @@ def get_public_mindmap():
|
||||
})
|
||||
|
||||
except Exception as e:
|
||||
print(f"Fehler in get_public_mindmap: {str(e)}")
|
||||
print(f"Fehler in get_public_mindmap_nodes: {str(e)}")
|
||||
return jsonify({'success': False, 'message': str(e)}), 500
|
||||
|
||||
# Automatische Datenbankinitialisierung - Aktualisiert für Flask 2.2+ Kompatibilität
|
||||
|
||||
Reference in New Issue
Block a user