diff --git a/authority-portal-backend/authority-portal-quarkus/src/main/kotlin/de/sovity/authorityportal/web/pages/connectormanagement/ConnectorManagementApiService.kt b/authority-portal-backend/authority-portal-quarkus/src/main/kotlin/de/sovity/authorityportal/web/pages/connectormanagement/ConnectorManagementApiService.kt index ca190080..96fa3f67 100644 --- a/authority-portal-backend/authority-portal-quarkus/src/main/kotlin/de/sovity/authorityportal/web/pages/connectormanagement/ConnectorManagementApiService.kt +++ b/authority-portal-backend/authority-portal-quarkus/src/main/kotlin/de/sovity/authorityportal/web/pages/connectormanagement/ConnectorManagementApiService.kt @@ -107,12 +107,12 @@ class ConnectorManagementApiService( deploymentEnvironmentService.assertValidEnvId(environmentId) val connectors = connectorService.getConnectorsByEnvironment(environmentId) - return buildConnectorOverview(connectors, withoutFrontendUrl = true) + return buildConnectorOverview(connectors, showFrontendUrl = false) } private fun buildConnectorOverview( connectors: List, - withoutFrontendUrl: Boolean = false + showFrontendUrl: Boolean = true ): ConnectorOverviewResult { val orgNames = organizationService.getAllOrganizationNames() @@ -125,7 +125,7 @@ class ConnectorManagementApiService( environment = deploymentEnvironmentDtoService.findByIdOrThrow(it.environment), name = it.name, status = if (it.type == ConnectorType.CAAS) it.caasStatus.toDto() else it.onlineStatus.toDto(), - frontendUrl = if (withoutFrontendUrl) null else it.frontendUrl + frontendUrl = if (showFrontendUrl) it.frontendUrl else null ) } return ConnectorOverviewResult(connectorDtos)