fix: 修正删除API Key时更新数据的字段名称

This commit is contained in:
AAEE86
2025-10-14 10:09:47 +08:00
parent 38c61e1018
commit 582348d615
2 changed files with 3 additions and 2 deletions

View File

@@ -341,7 +341,7 @@ const deleteApiKey = async (apiKey, index) => {
try {
// 准备更新数据:删除指定的 key
const updateData = {
apiKeys: [apiKey.key],
removeApiKeys: [apiKey.key],
apiKeyUpdateMode: 'delete'
}