🎨 修复编译编译失败的问题

This commit is contained in:
2026-03-05 21:45:42 +08:00
parent 2aad0a5f14
commit d0cabadcec
2 changed files with 2 additions and 2 deletions

View File

@@ -177,7 +177,7 @@ export function BatchImportDialog({ open, onOpenChange }: BatchImportDialogProps
const addedCred = await addCredential({
refreshToken: token,
authMethod,
authRegion: cred.authRegion?.trim() || cred.region?.trim() || undefined,
region: cred.authRegion?.trim() || cred.region?.trim() || undefined,
apiRegion: cred.apiRegion?.trim() || undefined,
clientId,
clientSecret,

View File

@@ -229,7 +229,7 @@ export function KamImportDialog({ open, onOpenChange }: KamImportDialogProps) {
const addedCred = await addCredential({
refreshToken: token,
authMethod,
authRegion: cred.region?.trim() || undefined,
region: cred.region?.trim() || undefined,
clientId,
clientSecret,
machineId: account.machineId?.trim() || undefined,