From f16ee9c8eccd249deca96491d419dacc7dc0704d Mon Sep 17 00:00:00 2001 From: kuro no fukkatsu <31205423+kullias@users.noreply.github.com> Date: Mon, 27 Oct 2025 16:25:37 +0300 Subject: [PATCH] =?UTF-8?q?[fix]=20incorrect=20example=20of=20uploadURL=20?= =?UTF-8?q?(corrupting=20local=20file=20ID=20stored=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … 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/api/config/js_kanban_editorshape_config.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/api/config/js_kanban_editorshape_config.md b/docs/api/config/js_kanban_editorshape_config.md index 72168a5..503a69f 100644 --- a/docs/api/config/js_kanban_editorshape_config.md +++ b/docs/api/config/js_kanban_editorshape_config.md @@ -313,8 +313,7 @@ uploadURL: rec => { .then(res => res.json()) .then( data => { - rec.id = data.id; - return data; + return { id: rec.id, ...data }; }, () => ({ id: rec.id, status: "error" }) )