Skip to content

Commit de3d629

Browse files
committed
fix(billing): keep payerHasChatAccess a distinct export
1 parent bb7bbea commit de3d629

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎apps/sim/lib/billing/core/chat-access.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,6 @@ export async function payerHasPaidAccess(payer: UsageUpgradePayer): Promise<bool
4545
* job dispatch, Copilot key admission, and the workspace host context the composer reads, so the
4646
* composer never offers a send that admission will refuse.
4747
*/
48-
export const payerHasChatAccess = payerHasPaidAccess
48+
export function payerHasChatAccess(payer: UsageUpgradePayer): Promise<boolean> {
49+
return payerHasPaidAccess(payer)
50+
}

0 commit comments

Comments
 (0)