MCPcopy Create free account
hub / github.com/Schroedinger-Hat/tanglecat / getEventCodeFromEnvironment

Function getEventCodeFromEnvironment

app/src/lib/utils/getEventCode.ts:1–4  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1export function getEventCodeFromEnvironment(): string | null {
2 const envCode = process.env.NEXT_PUBLIC_TANGLECAT_EVENT_CODE
3 return envCode || null
4}
5
6export function getEventCode(): string | null {
7 // Check environment variable first

Callers 1

getEventCodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected