From 6942d4881d4ddc3fae8cf6ac9512bfe17fbf88cc Mon Sep 17 00:00:00 2001 From: HeshamTB Date: Wed, 8 Jun 2022 14:31:08 +0300 Subject: [PATCH] sql_app: missing attribute force_close Signed-off-by: HeshamTB --- sql_app/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sql_app/main.py b/sql_app/main.py index e4636c5..7aa5c7f 100644 --- a/sql_app/main.py +++ b/sql_app/main.py @@ -149,7 +149,8 @@ def get_iot_access_list_for_user(db: Session = Depends(get_db), current_user: sc humidity=sensors.humidity, people=sensors.people, temperature=sensors.temperature, - smoke_sensor_reading=sensors.smoke_sensor_reading + smoke_sensor_reading=sensors.smoke_sensor_reading, + force_close=dev_db.force_close ) access_list.append(entry) #crud.record_user_connection(db, user, datetime.now())