Skip to content

Commit

Permalink
Merge pull request #2 from assemble-main/remove-dummy-record
Browse files Browse the repository at this point in the history
Remove dummy record
  • Loading branch information
ben-pr-p authored May 21, 2019
2 parents b47f05b + b62196e commit 48befb2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,6 @@ async function update() {

const records = await fetchAll();

// Forcing error
records.push({
id: "dummy",
fields: {
Name: null,
From: null,
To: null
}
});

await Promise.all(records.map(persistRecordWithMetadata));

for (let record of records) {
Expand Down

0 comments on commit 48befb2

Please sign in to comment.