From c02e839e9dba2390e1a2cf776c244031fb570c31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Thu, 12 Mar 2020 12:15:46 +0100 Subject: [PATCH] EventIndex: Use a const instead of a let binding. --- src/indexing/EventIndex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/indexing/EventIndex.js b/src/indexing/EventIndex.js index 128b4bb42d..245427d425 100644 --- a/src/indexing/EventIndex.js +++ b/src/indexing/EventIndex.js @@ -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()); }