Skip to content

Commit

Permalink
fix webserver
Browse files Browse the repository at this point in the history
  • Loading branch information
v00g100skr committed Feb 11, 2025
1 parent 3e93d9f commit 5552c87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deploy/web_server/web_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,9 @@ async def tcp_v1(request):

async def api_status(request):
local_time = get_current_datetime()
alerts_api_last_call = await get_cache_data(mc, b"alerts_api_last_call", json=False)
weather_api_last_call = await get_cache_data(mc, b"weather_api_last_call", json=False)
etryvoga_api_last_call = await get_cache_data(mc, b"etryvoga_api_last_call", json=False)
alerts_api_last_call = await get_cache_data(mc, b"alerts_api_last_call", json_parse=False)
weather_api_last_call = await get_cache_data(mc, b"weather_api_last_call", json_parse=False)
etryvoga_api_last_call = await get_cache_data(mc, b"etryvoga_api_last_call", json_parse=False)

alert_time_diff = calculate_time_difference(alerts_api_last_call, get_current_datetime())
weather_time_diff = calculate_time_difference(weather_api_last_call, get_current_datetime())
Expand Down

0 comments on commit 5552c87

Please sign in to comment.