diff --git a/backend/src/helpers/constants/constants.ts b/backend/src/helpers/constants/constants.ts index 6812ec321..91277a1f9 100644 --- a/backend/src/helpers/constants/constants.ts +++ b/backend/src/helpers/constants/constants.ts @@ -280,7 +280,9 @@ export const Constants = { default: break; } - testConnectionsArr.push(connection); + if (connection) { + testConnectionsArr.push(connection); + } } return testConnectionsArr; } catch (e) {