fix: 修复1panel 请求失败的bug

This commit is contained in:
xiaojunnuo
2026-02-15 12:59:08 +08:00
parent 8387fe0d5b
commit 0283662931
11 changed files with 63 additions and 44 deletions
@@ -125,7 +125,7 @@ export class OnePanelClient {
async getAccessToken() {
if (this.access.type === "apikey") {
return this.getAccessTokenByApiKey();
return await this.getAccessTokenByApiKey();
} else {
return await this.getAccessTokenByPassword();
}