Skip to content

Commit

Permalink
feat: enable view download on trial
Browse files Browse the repository at this point in the history
  • Loading branch information
mfts committed Jan 23, 2025
1 parent 8ac8150 commit 65b7d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/teams/[teamId]/datarooms/[id]/export-visits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default async function handler(
return res.status(404).end("Team not found");
}

if (team.plan.includes("free")) {
if (team.plan === "free") {
return res
.status(403)
.json({ message: "This feature is not available for your plan" });
Expand Down

0 comments on commit 65b7d3e

Please sign in to comment.