trypost/resources/js/pages/onboarding
Paulo Castellano ac75a51f9d refactor: use Inertia useHttp for brand autofill request
The Brand.vue autofill was hitting the endpoint with a raw fetch()
call including manual CSRF header wiring, content-type boilerplate,
and error parsing. Inertia v3 ships useHttp() for standalone HTTP
requests that handles all of that natively — matching the convention
already used elsewhere in the app (YouTubeAnalytics, XAnalytics,
InstagramAnalytics).

Typed the payload and response shape so the composable gives us
type-safe access to the fields we care about. Error handling now
reads from the Inertia exception's response.data.message.
2026-04-16 11:34:21 -03:00
..
Account.vue feat: redesign billing, onboarding, sidebar, and settings architecture 2026-04-15 00:33:38 -03:00
Brand.vue refactor: use Inertia useHttp for brand autofill request 2026-04-16 11:34:21 -03:00
Role.vue fix: Stripe webhook setup completion, notifications routing, billing UI 2026-03-31 13:52:36 -03:00