Skip to content

Commit

Permalink
fix: fuse expects array not string (#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
codebykenny authored Jul 28, 2023
1 parent e0565fb commit 85469db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/app/AppSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const { meta_K, Escape } = useMagicKeys()
const { data: files } = await useLazyAsyncData<DocusSearchResult[]>(
'search-api',
() => $fetch('/api/search')
() => $fetch('/api/search', { parseResponse: JSON.parse })
)
const { results } = useFuse<DocusSearchResult>(
Expand Down

0 comments on commit 85469db

Please sign in to comment.