Skip to content

Commit 60eabff

Browse files
committed
Merge branch 'dev' of https://github.com/robsontenorio/vue-api-query into dev
2 parents 2ab272f + 2246bd6 commit 60eabff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/en/performing-operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ We can update a `Comment` of a **Post**:
270270

271271
```js
272272
const post = await Post.find(1)
273-
const comment = await post.comments().attach({
273+
const comment = await post.comments().sync({
274274
text: 'Awesome post!'
275275
})
276276
```

0 commit comments

Comments
 (0)