From 7ea0581ea966222b039036e410927292e7d111cb Mon Sep 17 00:00:00 2001 From: undefined Date: Wed, 11 Nov 2020 13:27:53 +0800 Subject: [PATCH] remove unused vars --- packages/hydrojudge/src/hosts/hydro.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hydrojudge/src/hosts/hydro.ts b/packages/hydrojudge/src/hosts/hydro.ts index f6db18381..d044f5cdf 100644 --- a/packages/hydrojudge/src/hosts/hydro.ts +++ b/packages/hydrojudge/src/hosts/hydro.ts @@ -205,7 +205,7 @@ export default class Hydro { setInterval(() => { this.axios.get('judge/noop'); }, 30000000); } - async problemDataVersion(domainId: string, pid: string, retry = 3) { + async problemDataVersion(domainId: string, pid: string) { await this.ensureLogin(); const res = await this.axios.get(`d/${domainId}/p/${pid}`); const data = res.data.pdoc?.data;