From 6c048f2e2a2a19d52b4b760d1c2779a24ed6bdfa Mon Sep 17 00:00:00 2001 From: Jim Hull Date: Tue, 24 May 2022 18:21:41 -0700 Subject: [PATCH] Update 1.query-content.md Missing single quote in the `findSurround` example. --- docs/content/4.api/2.composables/1.query-content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/4.api/2.composables/1.query-content.md b/docs/content/4.api/2.composables/1.query-content.md index 58c88a1bf..b967c599e 100644 --- a/docs/content/4.api/2.composables/1.query-content.md +++ b/docs/content/4.api/2.composables/1.query-content.md @@ -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')