From 265f19704292a4b99c7a61540f5e6a8c3e3ae65e Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Tue, 20 Feb 2024 11:43:53 +0800 Subject: [PATCH] statistics --- xumu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xumu.py b/xumu.py index 128d206..2264cf2 100644 --- a/xumu.py +++ b/xumu.py @@ -372,7 +372,7 @@ async def warning_statistics(deviceId): today_count = 0 if len(values) != 0: today_count = values[0][0] - return_data = {"totoal_count": total_count, "today_count": today_count} + return_data = {"totoal_warning_count": total_count, "today_warning_count": today_count} return BaseResponse(data=return_data) except Exception as e: return BaseResponse(code=500, msg=str(e))