Skip to content

Commit d0d3206

Browse files
authored
[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
1 parent 3753fd8 commit d0d3206

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/guides/configuration.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,7 @@ new kanban.Kanban("#root", {
313313
.then(res => res.json())
314314
.then(
315315
data => {
316-
rec.id = data.id;
317-
return data;
316+
return { id: rec.id, ...data };
318317
},
319318
() => ({ id: rec.id, status: "error" })
320319
)

0 commit comments

Comments
 (0)