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

Function deadKey

apps/sim/lib/oauth/terminal-errors.ts:19–21  ·  view source on GitHub ↗
(accountId: string)

Source from the content-addressed store, hash-verified

17const DEAD_CACHE_TTL_SEC = 60 * 60
18
19function deadKey(accountId: string): string {
20 return `oauth:dead:${accountId}`
21}
22
23export function isTerminalRefreshError(code: string | undefined | null): boolean {
24 if (!code) return false

Callers 3

markCredentialDeadFunction · 0.85
getRecentTerminalErrorFunction · 0.85
clearDeadFlagFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected