MCPcopy Index your code
hub / github.com/simstudioai/sim / getEffectiveDecryptedEnvCacheKey

Function getEffectiveDecryptedEnvCacheKey

apps/sim/lib/environment/utils.ts:31–33  ·  view source on GitHub ↗
(userId: string, workspaceId?: string)

Source from the content-addressed store, hash-verified

29})
30
31function getEffectiveDecryptedEnvCacheKey(userId: string, workspaceId?: string): string {
32 return JSON.stringify([userId, workspaceId ?? null])
33}
34
35function cloneEnvVars(envVars: Record<string, string>): Record<string, string> {
36 return { ...envVars }

Callers 1

getEffectiveDecryptedEnvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected