Skip to content

Commit 01ff54c

Browse files
authored
Update mutations.md (#640)
🤦
1 parent e615268 commit 01ff54c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/mutations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const todoCollection = createCollection({
1515
id: "todos",
1616
onUpdate: async ({ transaction }) => {
1717
const mutation = transaction.mutations[0]
18-
await api.todos.update(mutation.original.id, mutation.changed)
18+
await api.todos.update(mutation.original.id, mutation.changes)
1919
},
2020
})
2121

0 commit comments

Comments
 (0)