修复lint问题

This commit is contained in:
xintaofei
2026-03-21 18:06:59 +08:00
parent 450b081e88
commit 32d922a346
2 changed files with 2 additions and 7 deletions

View File

@@ -268,10 +268,7 @@ export function VersionControlSettings() {
return
}
if (isGitHubAccount(account)) {
const result = await validateGitHubToken(
account.server_url,
token
)
const result = await validateGitHubToken(account.server_url, token)
if (result.success) {
toast.success(t("connectionSuccess"))
} else {

View File

@@ -357,9 +357,7 @@ export async function getAccountToken(
return invoke("get_account_token", { accountId })
}
export async function deleteAccountToken(
accountId: string
): Promise<void> {
export async function deleteAccountToken(accountId: string): Promise<void> {
return invoke("delete_account_token", { accountId })
}