MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / isSubscriber

Function isSubscriber

packages/billing/src/subscription.ts:609–615  ·  view source on GitHub ↗
(params: {
  userId: string
  logger: Logger
})

Source from the content-addressed store, hash-verified

607}
608
609export async function isSubscriber(params: {
610 userId: string
611 logger: Logger
612}): Promise<boolean> {
613 const sub = await getActiveSubscription(params)
614 return sub !== null
615}
616
617// ---------------------------------------------------------------------------
618// Subscribe flow

Callers

nothing calls this directly

Calls 1

getActiveSubscriptionFunction · 0.85

Tested by

no test coverage detected