EventIndex: Use a const instead of a let binding.
parent
cd515f1922
commit
c02e839e9d
|
@ -493,7 +493,7 @@ export default class EventIndex extends EventEmitter {
|
|||
|
||||
try {
|
||||
for (var i = 0; i < redactionEvents.length; i++) {
|
||||
let ev = redactionEvents[i];
|
||||
const ev = redactionEvents[i];
|
||||
await indexManager.deleteEvent(ev.getAssociatedId());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue