mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-09-19 07:45:53 +00:00
else
linting
This commit is contained in:
parent
01e80b1dba
commit
5ad671ac70
@ -52,8 +52,7 @@ export class ReportPoll {
|
|||||||
this.getAbuseReports.bind(this),
|
this.getAbuseReports.bind(this),
|
||||||
60_000 // a minute in milliseconds
|
60_000 // a minute in milliseconds
|
||||||
);
|
);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
throw new InvalidStateError("poll already scheduled");
|
throw new InvalidStateError("poll already scheduled");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user