🎨 修复编译编译失败的问题
This commit is contained in:
@@ -177,7 +177,7 @@ export function BatchImportDialog({ open, onOpenChange }: BatchImportDialogProps
|
|||||||
const addedCred = await addCredential({
|
const addedCred = await addCredential({
|
||||||
refreshToken: token,
|
refreshToken: token,
|
||||||
authMethod,
|
authMethod,
|
||||||
authRegion: cred.authRegion?.trim() || cred.region?.trim() || undefined,
|
region: cred.authRegion?.trim() || cred.region?.trim() || undefined,
|
||||||
apiRegion: cred.apiRegion?.trim() || undefined,
|
apiRegion: cred.apiRegion?.trim() || undefined,
|
||||||
clientId,
|
clientId,
|
||||||
clientSecret,
|
clientSecret,
|
||||||
|
|||||||
@@ -229,7 +229,7 @@ export function KamImportDialog({ open, onOpenChange }: KamImportDialogProps) {
|
|||||||
const addedCred = await addCredential({
|
const addedCred = await addCredential({
|
||||||
refreshToken: token,
|
refreshToken: token,
|
||||||
authMethod,
|
authMethod,
|
||||||
authRegion: cred.region?.trim() || undefined,
|
region: cred.region?.trim() || undefined,
|
||||||
clientId,
|
clientId,
|
||||||
clientSecret,
|
clientSecret,
|
||||||
machineId: account.machineId?.trim() || undefined,
|
machineId: account.machineId?.trim() || undefined,
|
||||||
|
|||||||
Reference in New Issue
Block a user