print monitor requests
Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
parent
6ae5b811f4
commit
50a7d8251c
@ -400,6 +400,7 @@ def polling_method_for_room_monitor(request: schemas.MonitorUpdateReadings,
|
|||||||
status_code=status.HTTP_401_UNAUTHORIZED,
|
status_code=status.HTTP_401_UNAUTHORIZED,
|
||||||
detail="Could not validate credentials")
|
detail="Could not validate credentials")
|
||||||
crud.record_room_sensor_data(db, request, device)
|
crud.record_room_sensor_data(db, request, device)
|
||||||
|
print(request)
|
||||||
return request
|
return request
|
||||||
|
|
||||||
@app.post("/iotdevice/door/users", response_class=PlainTextResponse, tags=['Iot'])
|
@app.post("/iotdevice/door/users", response_class=PlainTextResponse, tags=['Iot'])
|
||||||
|
Loading…
Reference in New Issue
Block a user