return JSON response for /data endpoint

This commit is contained in:
ishak jmilou.ishak
2024-12-19 22:02:36 +01:00
parent cf1350a3c0
commit 52eff9ec39

View File

@@ -76,7 +76,7 @@ def move():
@app.route('/data', methods=['GET'])
def data():
return kobuki_message
return jsonify(kobuki_message)
@app.route("/database")
def database():