sql_app: door: send actual access_list_counter instead of 0

Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
HeshamTB 2022-06-07 20:15:24 +03:00
parent 0125f3e5fc
commit b790c6657a
Signed by: Hesham
GPG Key ID: 74876157D199B09E

View File

@ -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