Skip to content

Commit 53b3dc8

Browse files
authored
docs: update stem examples (#3674)
1 parent 030dc27 commit 53b3dc8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/content/docs/3.files/2.yaml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Now we can query authors:
5252
// Find a single author
5353
const { data: author } = await useAsyncData('larbish', () => {
5454
return queryCollection('authors')
55-
.where('stem', '=', 'larbish')
55+
.where('stem', '=', 'authors/larbish')
5656
.first()
5757
})
5858

docs/content/docs/3.files/3.json.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Now we can query authors:
6060
// Find a single author
6161
const { data: author } = await useAsyncData('larbish', () => {
6262
return queryCollection('authors')
63-
.where('stem', '=', 'larbish')
63+
.where('stem', '=', 'authors/larbish')
6464
.first()
6565
})
6666

0 commit comments

Comments
 (0)