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

Function getWorkspaceBilledAccountUserId

apps/sim/lib/workspaces/utils.ts:45–48  ·  view source on GitHub ↗
(workspaceId: string)

Source from the content-addressed store, hash-verified

43}
44
45export async function getWorkspaceBilledAccountUserId(workspaceId: string): Promise<string | null> {
46 const settings = await getWorkspaceBillingSettings(workspaceId)
47 return settings?.billedAccountUserId ?? null
48}
49
50/**
51 * Workspaces the user administers purely through organization owner/admin role,

Callers 10

executeInboxTaskFunction · 0.90
maybeNotifyTableRowLimitFunction · 0.90
getWorkspaceTableLimitsFunction · 0.90
preprocessExecutionFunction · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90

Calls 1

Tested by

no test coverage detected