Update app.py

This commit is contained in:
Siwat Sirichai 2024-01-03 08:23:09 -08:00
parent cc7dde4f56
commit 46ed9cb571
1 changed files with 1 additions and 1 deletions

2
app.py
View File

@ -181,7 +181,7 @@ def refresh_data():
# Start the thread to refresh the data # Start the thread to refresh the data
Thread(target=refresh_data).start() Thread(target=refresh_data).start()
# Return All Data in the current month # Return the latest data
@app.route("/get_data", methods=["GET"]) @app.route("/get_data", methods=["GET"])
def get_data_route(): def get_data_route():
global last_indoor_data global last_indoor_data