From b30d4b7f4dea72f1ec30daa9b7d93917be250424 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 19 Aug 2019 14:13:14 -0400 Subject: [PATCH] fix remote id names --- src/browser/safariApp.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/browser/safariApp.ts b/src/browser/safariApp.ts index dc76828274..6d3b3cdc21 100644 --- a/src/browser/safariApp.ts +++ b/src/browser/safariApp.ts @@ -69,15 +69,15 @@ export class SafariApp { } private static cleanupOldRequests() { - const remoteIds: string[] = []; + const removeIds: string[] = []; ((window as any).bitwardenSafariAppRequests as Map void, timeoutDate: Date }>) .forEach((v, key) => { if (v.timeoutDate < new Date()) { - remoteIds.push(key); + removeIds.push(key); } }); - remoteIds.forEach((id) => { + removeIds.forEach((id) => { (window as any).bitwardenSafariAppRequests.delete(id); }); }