Skip to content

Commit 825b3a2

Browse files
authored
Merge pull request #399 from gitroomhq/feat/team-fix
fix: team invite without stripe
2 parents f6d386b + 8fb33ab commit 825b3a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/nestjs-libraries/src/database/prisma/organizations/organization.repository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export class OrganizationRepository {
149149
});
150150

151151
if (
152-
!process.env.STRIPE_PUBLISHABLE_KEY ||
152+
process.env.STRIPE_PUBLISHABLE_KEY &&
153153
checkForSubscription?.subscription?.subscriptionTier !==
154154
SubscriptionTier.PRO
155155
) {

0 commit comments

Comments
 (0)