Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
pplam committed Jun 15, 2024
1 parent d49c3b3 commit 5ffffc2
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,16 @@ import ai.devchat.core.BaseActionHandler
import ai.devchat.core.DevChatActions
import ai.devchat.storage.SERVER_CONFIG
import com.alibaba.fastjson.JSONObject
import com.intellij.openapi.diagnostic.Logger


class GetServerSettingsRequestHandler(requestAction: String, metadata: JSONObject?, payload: JSONObject?) : BaseActionHandler(
requestAction,
metadata,
payload
) {
private val logger = Logger.getInstance(GetServerSettingsRequestHandler::class.java)
override val actionName: String = DevChatActions.GET_SERVER_SETTINGS_RESPONSE
@Suppress("UNCHECKED_CAST")
override fun action() {
logger.info("^^^^^^^^^^^^^^^^^^^^^ get server settings")
send(payload= SERVER_CONFIG.get() as? Map<String, *>)
}
}

0 comments on commit 5ffffc2

Please sign in to comment.