(20250825) -Added debug print statement for google places api testing.

This commit is contained in:
yatmesh
2025-09-25 15:32:01 +05:30
parent 7f7a16d4d2
commit a8bcd1d9c4
3 changed files with 38 additions and 18 deletions
+2 -1
View File
@@ -268,6 +268,7 @@ async def authorize_software_client(
user=kwargs.get("session_info"),
session_token=inbound_headers.get("X-Session-Token")
)
print("response: ", response)
# Note down the results:
success = response.success
@@ -290,7 +291,7 @@ async def authorize_software_client(
# Done here:
return ResponseModel(
status_code = StatusCodes.OK if success else StatusCodes.FAILED,
http_code = HttpCodes.SUCCESS if success else HttpCodes.INTERNAL_SERVER_ERROR,
http_code = HttpCodes.SUCCESS if success else HttpCodes.BAD_REQUEST,
message = message,
data = {
"client": inbound_data.softwareClient,