1
0
mirror of https://amiok.net/gitea/W1CDN/aprs_tool.git synced 2025-11-13 05:49:26 +00:00

Update data on API call

Oops!
This commit is contained in:
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