EventIndex: Use a const instead of a let binding.

pull/21833/head
Damir Jelić 2020-03-12 12:15:46 +01:00
parent cd515f1922
commit c02e839e9d
1 changed files with 1 additions and 1 deletions

View File

@ -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());
} }