sql_app: missing attribute force_close

Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
HeshamTB 2022-06-08 14:31:08 +03:00
parent 6a3d9d9e95
commit 6942d4881d

View File

@ -149,7 +149,8 @@ def get_iot_access_list_for_user(db: Session = Depends(get_db), current_user: sc
humidity=sensors.humidity, humidity=sensors.humidity,
people=sensors.people, people=sensors.people,
temperature=sensors.temperature, 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) access_list.append(entry)
#crud.record_user_connection(db, user, datetime.now()) #crud.record_user_connection(db, user, datetime.now())