Skip to content

fix(funnels): include tenant_id when creating public funnel sessions#37

Merged
peterod99 merged 1 commit intomainfrom
claude/fix-funnel-display-zH4Bd
Jan 6, 2026
Merged

fix(funnels): include tenant_id when creating public funnel sessions#37
peterod99 merged 1 commit intomainfrom
claude/fix-funnel-display-zH4Bd

Conversation

@peterod99
Copy link
Copy Markdown
Owner

The session insert was failing due to missing tenant_id which is required by RLS policies. Now the session creation includes tenant_id from:

  1. The funnel's tenant_id (passed explicitly)
  2. Fallback to sessionStorage/localStorage tenant context

The session insert was failing due to missing tenant_id which is required
by RLS policies. Now the session creation includes tenant_id from:
1. The funnel's tenant_id (passed explicitly)
2. Fallback to sessionStorage/localStorage tenant context
@peterod99 peterod99 merged commit e58fb0f into main Jan 6, 2026
1 of 2 checks passed
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jan 6, 2026

Warning

Rate limit exceeded

@peterod99 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 0 minutes and 2 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 105e6da and 0a7466d.

📒 Files selected for processing (2)
  • src/pages/PublicFunnelLanding.tsx
  • src/services/publicFunnelService.ts

Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login.

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants