Remove logging statement in get_connectors function (#126)
taylor_socfortress committed
Feb 1, 2024 at 13:21 UTC
92a3108a34155ce4b3265ea460f0c35f2c9a3bcd
1 file changed
-1
backend/app/connectors/routes.py
-1
@@ -42,7 +42,6 @@ async def get_connectors(session: AsyncSession = Depends(get_db)) -> ConnectorsL
42
HTTPException: An exception with a 404 status code is raised if no connectors are found.
43
"""
44
connectors = await ConnectorServices.fetch_all_connectors(session=session)
45
- logger.info(f"Connectors: {connectors}")
45
if connectors:
46
return {"connectors": connectors, "success": True, "message": "Connectors fetched successfully"}
47
else: