fix: 修复oauth的claude账号在apikey最后使用显示未已删除的bug

This commit is contained in:
shaw
2025-10-17 23:14:39 +08:00
parent 17311f2d3b
commit 2ec17360d6

View File

@@ -227,6 +227,9 @@ class ClaudeRelayService {
options
)
response.accountId = accountId
response.accountType = accountType
// 移除监听器(请求成功完成)
if (clientRequest) {
clientRequest.removeListener('close', handleClientDisconnect)