Skip to content

Commit 561c824

Browse files
authored
Merge pull request #70 from DHTMLX/kullias-patch-1
[fix] incorrect example of uploadURL (corrupting local file ID stored…
2 parents 3753fd8 + d0d3206 commit 561c824

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)