Skip to content

Commit

Permalink
docs: Update 1.query-content.md (#1138)
Browse files Browse the repository at this point in the history
Missing single quote in the `findSurround` example.
  • Loading branch information
jhull committed May 25, 2022
1 parent 23cb656 commit 0046ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/4.api/2.composables/1.query-content.md
Expand Up @@ -179,7 +179,7 @@ You will always obtain an array of fixed length filled with the matching documen

```ts
const [prev, next] = await queryContent('articles')
.only(['_path', 'title])
.only(['_path', 'title'])
.sort({ date: 1})
.where({ isArchived: false })
.findSurround('article-2')
Expand Down

0 comments on commit 0046ca1

Please sign in to comment.