mirror of
https://amiok.net/gitea/W1CDN/aprs_tool.git
synced 2025-05-25 22:10:20 +00:00
Update data on API call
Oops!
This commit is contained in:
parent
795d2ef403
commit
fb027194e8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user