(params: {
userId: string
logger: Logger
})
| 607 | } |
| 608 | |
| 609 | export 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 |
nothing calls this directly
no test coverage detected