From 50a7d8251c9d930bdf43adc7913b3d984082872e Mon Sep 17 00:00:00 2001 From: HeshamTB Date: Fri, 10 Jun 2022 21:45:44 +0300 Subject: [PATCH] print monitor requests Signed-off-by: HeshamTB --- sql_app/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sql_app/main.py b/sql_app/main.py index 9c66e44..17a4510 100644 --- a/sql_app/main.py +++ b/sql_app/main.py @@ -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'])