Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(web): require active subscription for Pro seat provider

Richie McIlroyb42e3efdfca4
diff --git a/apps/web/utils/organization.ts b/apps/web/utils/organization.ts
index 33b958606..0b40da325 100644
--- a/apps/web/utils/organization.ts
+++ b/apps/web/utils/organization.ts
@@ -40,8 +40,6 @@ export function selectProSeatProvider<T extends ProSeatProvider>({
return (
candidates.sort((a, b) => (b.inviteQuota ?? 1) - (a.inviteQuota ?? 1))[0] ??
- owner ??
- (actorCanManageProSeats ? actor : null) ??
null
);
}