fix: build issues

This commit is contained in:
Lucas Smith
2024-02-12 01:29:22 +00:00
parent 748bf6de6b
commit 20e2976731
25 changed files with 88 additions and 77 deletions

View File

@@ -46,7 +46,7 @@ export const acceptTeamInvitation = async ({ userId, teamId }: AcceptTeamInvitat
},
});
if (IS_BILLING_ENABLED && team.subscription) {
if (IS_BILLING_ENABLED() && team.subscription) {
const numberOfSeats = await tx.teamMember.count({
where: {
teamId: teamMemberInvite.teamId,