From 695c5fe4a3916e716e8368b4108de4aa546ac427 Mon Sep 17 00:00:00 2001 From: rendies Date: Thu, 12 Jan 2023 20:27:31 +0700 Subject: [PATCH] fix: counter api response order --- RunCounting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RunCounting.py b/RunCounting.py index 4e25fbc..5a4578c 100644 --- a/RunCounting.py +++ b/RunCounting.py @@ -31,7 +31,7 @@ args = None def counter(): # return the rendered template global people_count - return jsonify([people_count, 1000, 980, 700, 500, 670, 567 ]) + return jsonify([ 1000, 980, 700, 500, 670, 567, people_count ]) @app.route("/video") @cross_origin()