From 932889c5e1cab4c1461d52164aefe99a522b2e17 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 22 Feb 2022 19:46:36 +0100 Subject: [PATCH] wip #5120 @0.25 --- resources/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/index.js b/resources/js/index.js index 0ebdf18..bdffed0 100644 --- a/resources/js/index.js +++ b/resources/js/index.js @@ -17,5 +17,5 @@ fs.readFile(file, 'utf8', (err, data) => { fields: fields, storeFields: storeFields, prefix: prefix == '1', fuzzy: parseFloat(fuzzy) }); miniSearch.addAll(JSON.parse(data)); - console.log(JSON.stringify(miniSearch)); + console.log(JSON.stringify(miniSearch.toJSON())); }); \ No newline at end of file -- 2.39.5