trypost/resources
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
..
css feat: complete AI assistant with custom services and brand config 2026-04-16 09:25:08 -03:00
js refactor: use Inertia useHttp for brand autofill request 2026-04-16 11:34:21 -03:00
views feat: use LLM to polish brand autofill when provider is configured 2026-04-16 11:33:02 -03:00