Update data on API call

Oops!
This commit is contained in:
W1CDN 2023-04-12 09:24:31 -05:00
parent 795d2ef403
commit fb027194e8

View File

@ -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