From b767aadb56387f1e08d3b5c39b446246effb9221 Mon Sep 17 00:00:00 2001 From: Patrick Kettner Date: Tue, 29 Nov 2022 17:25:12 -0500 Subject: [PATCH] fix page_list example --- ...xamples_interactivity_dynamic_content_pages_list_search.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netlify/functions/examples_interactivity_dynamic_content_pages_list_search/examples_interactivity_dynamic_content_pages_list_search.js b/netlify/functions/examples_interactivity_dynamic_content_pages_list_search/examples_interactivity_dynamic_content_pages_list_search.js index c908338f514..69117c1b34a 100644 --- a/netlify/functions/examples_interactivity_dynamic_content_pages_list_search/examples_interactivity_dynamic_content_pages_list_search.js +++ b/netlify/functions/examples_interactivity_dynamic_content_pages_list_search/examples_interactivity_dynamic_content_pages_list_search.js @@ -42,9 +42,9 @@ const handler = async (ev) => { response.products.push(productListing); } - return JSON.stringify({ + return { items: response, - }); + }; } return {