From fb027194e8ee0d2ffa6624fa95c9612191b04480 Mon Sep 17 00:00:00 2001 From: W1CDN Date: Wed, 12 Apr 2023 09:24:31 -0500 Subject: [PATCH] Update data on API call Oops! --- api_app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api_app.py b/api_app.py index 69e9ccf..0b117ca 100644 --- a/api_app.py +++ b/api_app.py @@ -44,6 +44,7 @@ def read_logs(log_folder): class Packets(Resource): def get(self): + data = read_logs(log_folder) return {'data': data}, 200 # return data and 200 OK code # Read config