From d0d32066bdda8361b3f324541024594ba0669a80 Mon Sep 17 00:00:00 2001 From: kuro no fukkatsu <31205423+kullias@users.noreply.github.com> Date: Mon, 27 Oct 2025 16:12:32 +0300 Subject: [PATCH] [fix] incorrect example of uploadURL (corrupting local file ID stored by uploader) was not critical before 1.7 - became critical now, the updated Uploader can't change the status from "client" to "server" or "error" and the request hangs as if a pending one (spinning icon and the card is not updated) plus can't set the cover --- docs/guides/configuration.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/guides/configuration.md b/docs/guides/configuration.md index a2064bf..14ccffe 100644 --- a/docs/guides/configuration.md +++ b/docs/guides/configuration.md @@ -313,8 +313,7 @@ new kanban.Kanban("#root", { .then(res => res.json()) .then( data => { - rec.id = data.id; - return data; + return { id: rec.id, ...data }; }, () => ({ id: rec.id, status: "error" }) )