Skip to content

Commit

Permalink
Revert redundant change
Browse files Browse the repository at this point in the history
  • Loading branch information
mkondratek committed Nov 27, 2024
1 parent 7f0e2f5 commit f766d1a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit f766d1a

Please sign in to comment.