Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fix let -> const

Vladyslav Matsiiako088668e1b05b
diff --git a/frontend/components/utilities/secrets/pushKeys.ts b/frontend/components/utilities/secrets/pushKeys.ts
index a4954e8c30..0d570f2738 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");