From 088668e1b05bef12bdbd66f14a94705f842d3d8a Mon Sep 17 00:00:00 2001 From: Vladyslav Matsiiako Date: Sun, 4 Dec 2022 23:18:39 -0500 Subject: [PATCH] Fix let -> const --- frontend/components/utilities/secrets/pushKeys.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/components/utilities/secrets/pushKeys.ts b/frontend/components/utilities/secrets/pushKeys.ts index a4954e8c3..0d570f273 100644 --- a/frontend/components/utilities/secrets/pushKeys.ts +++ b/frontend/components/utilities/secrets/pushKeys.ts @@ -26,7 +26,7 @@ export interface IK { * @param {object} obj.env - which environment a user is pushing to */ const pushKeys = async({ obj, workspaceId, env }: { obj: object; workspaceId: string; env: string; }) => { - let sharedKey = await getLatestFileKey({ workspaceId }); + const sharedKey = await getLatestFileKey({ workspaceId }); const PRIVATE_KEY = localStorage.getItem("PRIVATE_KEY");