From 0046ca147b1cac38c256fa2c44c58d32ed942068 Mon Sep 17 00:00:00 2001 From: Jim Hull Date: Tue, 24 May 2022 18:39:47 -0700 Subject: [PATCH] docs: Update 1.query-content.md (#1138) 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')