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