EventIndex: Use a const instead of a let binding.
This commit is contained in:
parent
cd515f1922
commit
c02e839e9d
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ export default class EventIndex extends EventEmitter {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
for (var i = 0; i < redactionEvents.length; i++) {
|
for (var i = 0; i < redactionEvents.length; i++) {
|
||||||
let ev = redactionEvents[i];
|
const ev = redactionEvents[i];
|
||||||
await indexManager.deleteEvent(ev.getAssociatedId());
|
await indexManager.deleteEvent(ev.getAssociatedId());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue