-
Aryan Noshirvnai authored
apiFetch assumed detail was always a string, but FastAPI's own 422 validation errors shape it as a list of {loc, msg, type, ...} objects - that list became the ApiError's message, and React stringified it to the literal text "[object Object]" wherever it got rendered (hit live on prod's Sign up form). Extracts and joins the real msg from each validation item instead, falling back to the generic status message when detail isn't a recognizable shape.946930e8
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| auth.ts | ||
| client.test.ts | ||
| client.ts | ||
| discovery.ts | ||
| dm.ts | ||
| dmSocket.ts | ||
| home.ts | ||
| jwt.test.ts | ||
| jwt.ts | ||
| library.ts | ||
| music.ts | ||
| radio.ts | ||
| remix.ts | ||
| roomSocket.ts | ||
| social.ts | ||
| soundmarks.ts | ||
| stream.ts |