it0/packages/services/billing-service/src/interfaces/rest/controllers
hailin 2773b6265c fix(billing): return default free-plan stub when no subscription exists
Previously GET /api/v1/billing/subscription threw 404 for tenants with no
subscription, causing React Query error state on the Plans and Overview pages.
Now returns a graceful default response so the UI renders without errors.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 06:09:32 -08:00
..
invoice.controller.ts fix(billing-service): remove stale invoice.items reference after OneToMany removal 2026-03-04 01:49:23 -08:00
payment-method.controller.ts feat: implement complete commercial monetization loop (Phases 1-4) 2026-03-03 21:09:17 -08:00
plan.controller.ts feat(billing): add CNY overage rate field and auto-detect currency from locale 2026-03-07 02:18:25 -08:00
subscription.controller.ts fix(billing): return default free-plan stub when no subscription exists 2026-03-07 06:09:32 -08:00
webhook.controller.ts fix(billing-service): resolve all TypeScript compilation errors 2026-03-03 23:00:27 -08:00