EventIndex: Use a const instead of a let binding.

This commit is contained in:
Damir Jelić 2020-03-12 12:15:46 +01:00
parent cd515f1922
commit c02e839e9d

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