Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -581,6 +581,12 @@ def mindmapGet():
|
|
581 |
userId = request.userId
|
582 |
return getMindmap(userId, savedMindmap)
|
583 |
|
|
|
|
|
|
|
|
|
|
|
|
|
584 |
@app.route('/mindmap/get/<id>', methods=['GET'])
|
585 |
def mindmapGetById(id):
|
586 |
return getMindmapByid(id, savedMindmap)
|
|
|
581 |
userId = request.userId
|
582 |
return getMindmap(userId, savedMindmap)
|
583 |
|
584 |
+
@app.route('/mindmap/history/get', methods=['GET'])
|
585 |
+
@auth_user
|
586 |
+
def mindmapGetHistory():
|
587 |
+
userId = request.userId
|
588 |
+
return getMindmapHistory(userId, savedMindmap)
|
589 |
+
|
590 |
@app.route('/mindmap/get/<id>', methods=['GET'])
|
591 |
def mindmapGetById(id):
|
592 |
return getMindmapByid(id, savedMindmap)
|