1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-09-25 04:51:29 +02:00

fix(export): remove erroneous Promise.resolve(true) call

This commit is contained in:
Andrew Lee
2021-08-10 20:11:19 -04:00
committed by Thomas Wilkerling
parent 457eea1e7e
commit 3bdd6a4183

View File

@@ -171,7 +171,7 @@ export async function exportDocument(callback, self, field, index_doc, index){
default:
return Promise.resolve(true);
return true;
}
return await lazyExport(callback, this, key, index_doc, index, data);