print monitor requests

Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
HeshamTB 2022-06-10 21:45:44 +03:00
parent 6ae5b811f4
commit 50a7d8251c
Signed by: Hesham
GPG Key ID: 74876157D199B09E

View File

@ -400,6 +400,7 @@ def polling_method_for_room_monitor(request: schemas.MonitorUpdateReadings,
status_code=status.HTTP_401_UNAUTHORIZED,
detail="Could not validate credentials")
crud.record_room_sensor_data(db, request, device)
print(request)
return request
@app.post("/iotdevice/door/users", response_class=PlainTextResponse, tags=['Iot'])