From bfa489915bf2d2429580095eca631f1a7b0bdd54 Mon Sep 17 00:00:00 2001 From: frankpagan Date: Mon, 3 May 2021 01:43:05 +0000 Subject: [PATCH] fix: upate path to entry --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index d2a70c8f..932c5904 100644 --- a/src/index.js +++ b/src/index.js @@ -94,7 +94,7 @@ if (crud) { * Store html files by config sources **/ if (sources) { - sources.forEach(async ({path, collection, document_id, key, data}) => { + sources.forEach(async ({entry, collection, document_id, key, data}) => { if (!path) return; let content = fs.readFileSync(path, 'utf8');