The generic request<T>() always called res.json(), which throws on a 204 No Content body. mark-dead endpoints (scene + movie "Mark as invalid"/broken) return 204, so the call threw AFTER the backend had already marked the source dead → user saw a "Failed" alert and the list didn't refresh, even though the mark succeeded server-side (bug-reports 2026-05-28 Voe, 2026-06-03 scene 1e8dc190). Return undefined for 204 before parsing JSON. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| lib | ||
| native | ||
| screens | ||
| api.ts | ||
| ClientContext.tsx | ||
| ErrorBoundary.tsx | ||
| navigation.tsx | ||
| storage.ts | ||
| theme.ts | ||
| types.ts | ||