From b790c6657ab9e7b115922dad5dd796b2d8406321 Mon Sep 17 00:00:00 2001 From: HeshamTB Date: Tue, 7 Jun 2022 20:15:24 +0300 Subject: [PATCH] sql_app: door: send actual access_list_counter instead of 0 Signed-off-by: HeshamTB --- sql_app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql_app/main.py b/sql_app/main.py index 4deca7a..9a89d5c 100644 --- a/sql_app/main.py +++ b/sql_app/main.py @@ -298,7 +298,7 @@ def polling_method_for_iot_entity(request: schemas.IotDoorPollingRequest, response : schemas.IotDoorPollingResponse = schemas.IotDoorPollingResponse( open_command=device.open_request, - acces_list_counter=0, + acces_list_counter=device.acces_list_counter, time_seconds=device.time_seconds, force_close=device.force_close) # Reset open_request to False