bug fixes

This commit is contained in:
undefined committed 2025-03-15 06:43:18 +08:00
1 parent 4b7de2f448
commit a01c83c1b6
9 files changed
+51 -25

No files matched your search

+3 -1
View File
@@ -155,7 +155,9 @@ class AccountService {
this.syncing = false;
}
async stop() { } // eslint-disable-line @typescript-eslint/no-empty-function
async stop() {
return this.api?.stop?.();
}
async main() {
const res = await this.login();
+1
View File
@@ -41,6 +41,7 @@ export interface IBasicProvider {
submitProblem(id: string, lang: string, code: string, info: any, next: NextFunction, end: NextFunction): Promise<string | void>;
waitForSubmission(id: string, next: NextFunction, end: NextFunction): Promise<void>;
checkStatus?: (onCheckFunc: boolean) => Promise<void>;
stop?: () => Promise<void>;
}
export interface BasicProvider {