fix: uid is not defined

This commit is contained in:
TakeyaYuki 2024-07-08 17:12:24 +08:00 committed by GitHub
parent f0ef2bd624
commit 0c72964b12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,7 @@ export class ZZZPlugin extends plugin {
return uid; return uid;
} }
async getAPI() { async getAPI() {
uid = await this.getUID(); let uid = await this.getUID();
if (!uid) return false; if (!uid) return false;
const ck = await getCk(this.e); const ck = await getCk(this.e);