bugfix: don't JSON.parse empty 200/201 bodies (0.19.1)

$(addMangaToCollection crashed when the backend returned 201/200 with no body — the shared client only short-circuited 204. Now any empty body returns undefined.)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
MechaCat02
2026-05-17 18:30:39 +02:00
parent 19c1276490
commit 58e637085d
5 changed files with 27 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "mangalord-frontend",
"version": "0.19.0",
"version": "0.19.1",
"private": true,
"type": "module",
"scripts": {