From 1cc12482cab86aeaef1aba3519467444fe4b439d Mon Sep 17 00:00:00 2001 From: Luo Tim Date: Sun, 16 Jun 2024 23:41:28 +0800 Subject: [PATCH] Fix get ide service port --- gui | 2 +- .../ai/devchat/core/handlers/GetIDEServicePortRequestHandler.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui b/gui index 360bd78..47be1dd 160000 --- a/gui +++ b/gui @@ -1 +1 @@ -Subproject commit 360bd78d55e7477cb00e2d8020e00da0e68206e4 +Subproject commit 47be1dd03d5890fb25190163f1040308ef14c2c0 diff --git a/src/main/kotlin/ai/devchat/core/handlers/GetIDEServicePortRequestHandler.kt b/src/main/kotlin/ai/devchat/core/handlers/GetIDEServicePortRequestHandler.kt index f53fc7d..fa3384a 100644 --- a/src/main/kotlin/ai/devchat/core/handlers/GetIDEServicePortRequestHandler.kt +++ b/src/main/kotlin/ai/devchat/core/handlers/GetIDEServicePortRequestHandler.kt @@ -14,6 +14,6 @@ class GetIDEServicePortRequestHandler(requestAction: String, metadata: JSONObjec ) { override val actionName: String = DevChatActions.GET_IDE_SERVICE_PORT_RESPONSE override fun action() { - send(payload= mapOf("port" to ideServerPort)) + send(payload= mapOf("result" to ideServerPort)) } }