Skip to content

Commit

Permalink
fix: upate path to entry
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed May 3, 2021
1 parent 453a37a commit bfa4899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit bfa4899

Please sign in to comment.