From f766d1af186d568235d6386e467941c13fe2056f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Kondratek?= Date: Wed, 27 Nov 2024 21:07:24 +0100 Subject: [PATCH] Revert redundant change --- src/main/kotlin/com/sourcegraph/cody/agent/CodyAgentClient.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/kotlin/com/sourcegraph/cody/agent/CodyAgentClient.kt b/src/main/kotlin/com/sourcegraph/cody/agent/CodyAgentClient.kt index 9fa01d125d..b06d7db548 100644 --- a/src/main/kotlin/com/sourcegraph/cody/agent/CodyAgentClient.kt +++ b/src/main/kotlin/com/sourcegraph/cody/agent/CodyAgentClient.kt @@ -264,8 +264,7 @@ class CodyAgentClient(private val project: Project, private val webview: NativeW } if (params.key == "cody.serverEndpoint") { val endpoint = params.value ?: return - val server = SourcegraphServerPath(endpoint) - CodyAccount.setActiveAccount(CodyAccount(server)) + CodyAccount.setActiveAccount(CodyAccount(SourcegraphServerPath(endpoint))) CodyStatusService.resetApplication(project) } }