mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-22 16:43:35 +00:00
fix: 修正删除API Key时更新数据的字段名称
This commit is contained in:
@@ -1817,7 +1817,8 @@
|
||||
<li>新会话将随机命中一个 Key,并在会话有效期内保持粘性。</li>
|
||||
<li>若某 Key 失效,会自动切换到剩余可用 Key,最大化成功率。</li>
|
||||
<li>
|
||||
若上游返回 4xx 错误码,该 Key 会被自动标记为异常;全部 Key 异常后账号将暂停调度。
|
||||
若上游返回 4xx 错误码,该 Key 会被自动标记为异常;全部 Key
|
||||
异常后账号将暂停调度。
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -341,7 +341,7 @@ const deleteApiKey = async (apiKey, index) => {
|
||||
try {
|
||||
// 准备更新数据:删除指定的 key
|
||||
const updateData = {
|
||||
apiKeys: [apiKey.key],
|
||||
removeApiKeys: [apiKey.key],
|
||||
apiKeyUpdateMode: 'delete'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user