We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e615268 commit 01ff54cCopy full SHA for 01ff54c
docs/guides/mutations.md
@@ -15,7 +15,7 @@ const todoCollection = createCollection({
15
id: "todos",
16
onUpdate: async ({ transaction }) => {
17
const mutation = transaction.mutations[0]
18
- await api.todos.update(mutation.original.id, mutation.changed)
+ await api.todos.update(mutation.original.id, mutation.changes)
19
},
20
})
21
0 commit comments