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" }) )