Skip to content

fix(billing): bump ACUC references from v46 to v47#3252

Closed
firecrawl-spring[bot] wants to merge 1 commit intomainfrom
fix/acuc-v47
Closed

fix(billing): bump ACUC references from v46 to v47#3252
firecrawl-spring[bot] wants to merge 1 commit intomainfrom
fix/acuc-v47

Conversation

@firecrawl-spring
Copy link
Copy Markdown
Contributor

@firecrawl-spring firecrawl-spring Bot commented Mar 30, 2026

Summary

  • Update RPC call sites from auth_credit_usage_chunk_46 to auth_credit_usage_chunk_47 and _46_from_team to _47_from_team
  • Part of the virtual month end gap fix for annual subscriptions starting on the 29th-31st

Files changed

  • apps/api/src/controllers/auth.ts - _46_47, _46_from_team_47_from_team

Test plan

  • Verify API auth/credit checks work correctly
  • Verify billing period boundaries are correct for annual subscriptions

Summary by cubic

Switch API billing RPC calls to v47 to fix the virtual month-end gap for annual subscriptions that start on the 29th–31st. Updates calls to auth_credit_usage_chunk_47 and auth_credit_usage_chunk_47_from_team.

  • Migration
    • Deploy the DB migration that adds the v47 RPCs before this change.
    • After deploy, verify auth/credit checks and annual period boundaries.

Written for commit 97140e3. Summary will update on new commits.

Updates auth.ts to call auth_credit_usage_chunk_47 and
auth_credit_usage_chunk_47_from_team, which fix the virtual month end
gap for annual subscriptions starting on the 29th-31st.

Companion to firecrawl-db PR #76. Deploy the migration first.

Co-Authored-By: micahstairs <micah@sideguide.dev>
@firecrawl-spring firecrawl-spring Bot requested a review from micahstairs March 30, 2026 15:13
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

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