MCPcopy
hub / github.com/simstudioai/sim / getPostHogClient

Function getPostHogClient

apps/sim/lib/posthog/server.ts:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8let _disabled = false
9
10export function getPostHogClient(): PostHog | null {
11 return getClient()
12}
13
14function getClient(): PostHog | null {
15 if (_disabled) return null

Callers 2

auth.tsFile · 0.90
shutdownPostHogFunction · 0.85

Calls 1

getClientFunction · 0.70

Tested by

no test coverage detected