remove active connection duplicate test filter
This commit is contained in:
parent
174823f5d4
commit
caa6a701d6
1 changed files with 0 additions and 1 deletions
|
|
@ -39,7 +39,6 @@ async def connector_sync(request: Request, connector_service, session_manager):
|
||||||
)
|
)
|
||||||
|
|
||||||
active_connections = [conn for conn in connections if conn.is_active]
|
active_connections = [conn for conn in connections if conn.is_active]
|
||||||
active_connections = active_connections[:1] # TODO: Temporary workaround for duplicate connections
|
|
||||||
if not active_connections:
|
if not active_connections:
|
||||||
return JSONResponse(
|
return JSONResponse(
|
||||||
{"error": f"No active {connector_type} connections found"},
|
{"error": f"No active {connector_type} connections found"},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue