remove unused vars

This commit is contained in:
undefined committed 2020-11-11 13:27:53 +08:00
1 parent edfbd29902
commit 7ea0581ea9
1 file changed
+1 -1
+1 -1
View File
@@ -205,7 +205,7 @@ export default class Hydro {
setInterval(() => { this.axios.get('judge/noop'); }, 30000000); setInterval(() => { this.axios.get('judge/noop'); }, 30000000);
} }
async problemDataVersion(domainId: string, pid: string, retry = 3) { async problemDataVersion(domainId: string, pid: string) {
await this.ensureLogin(); await this.ensureLogin();
const res = await this.axios.get(`d/${domainId}/p/${pid}`); const res = await this.axios.get(`d/${domainId}/p/${pid}`);
const data = res.data.pdoc?.data; const data = res.data.pdoc?.data;