Skip to content

Fix credit auth regressions in AI endpoints#28

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/critical-bug-inspection-f166
Draft

Fix credit auth regressions in AI endpoints#28
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/critical-bug-inspection-f166

Conversation

@cursor
Copy link
Copy Markdown

@cursor cursor Bot commented May 5, 2026

Summary

  • Fix scaffold generation by parsing the request body only once.
  • Derive scaffold credit checks/deductions from the authenticated user instead of optional client input.
  • Require authenticated users for credit summary and legacy analysis credit billing.

Validation

  • Attempted pnpm exec tsc --noEmit and pnpm lint, but this environment does not have pnpm/Node.js installed (command not found).
Open in Web View Automation 

Co-authored-by: Cole Collins <DealPatrol@users.noreply.github.com>
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
repo-app-architect Error Error May 5, 2026 3:31am
v0-repo-app-architect Error Error Open in v0 May 5, 2026 3:31am

Request Review

@supabase
Copy link
Copy Markdown

supabase Bot commented May 5, 2026

This pull request has been ignored for the connected project bpjftwoiosftvjvxpovz because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

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.

1 participant