From c8ece5211bb9a0d4c7becca42793f12fdd7439b8 Mon Sep 17 00:00:00 2001 From: Kenneth Date: Thu, 27 Jul 2023 14:21:13 -0400 Subject: [PATCH] fix: fuse expects array not string --- components/app/AppSearch.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/app/AppSearch.vue b/components/app/AppSearch.vue index e5e36ae07..4c497f553 100644 --- a/components/app/AppSearch.vue +++ b/components/app/AppSearch.vue @@ -31,7 +31,7 @@ const { meta_K, Escape } = useMagicKeys() const { data: files } = await useLazyAsyncData( 'search-api', - () => $fetch('/api/search') + () => $fetch('/api/search', { parseResponse: JSON.parse }) ) const { results } = useFuse(