chore: make lint happy

This commit is contained in:
CrescentLeaf
2025-10-24 20:22:18 +08:00
parent ba71d66db8
commit 3789e476f7

View File

@@ -89,7 +89,7 @@ class Client {
})
return re.data?.access_token as string
}
static async auth(token: string, timeout: number) {
static async auth(token: string, timeout?: number) {
const re = await this.invoke("User.auth", {
access_token: token
}, timeout, 1, true)