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

2
backend/Cargo.lock generated
View File

@@ -1033,7 +1033,7 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
[[package]]
name = "mangalord"
version = "0.19.0"
version = "0.19.1"
dependencies = [
"anyhow",
"argon2",