Skip to content

Commit 703d87d

Browse files
authored
Merge pull request #71 from DHTMLX/kullias-patch-2
[fix] incorrect example of uploadURL (corrupting local file ID stored…
2 parents 561c824 + f16ee9c commit 703d87d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/api/config/js_kanban_editorshape_config.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,7 @@ uploadURL: rec => {
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)