summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unmess/api.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/unmess/api.py b/unmess/api.py
index 91872f5..57e1349 100644
--- a/unmess/api.py
+++ b/unmess/api.py
@@ -94,9 +94,11 @@ def format_node(node):
return node
+
def format_nodes(nodes):
return (format_node(node) for node in nodes)
+
# Routes
@app.route('/nodes')
@auth_required