Skip to content

Commit

Permalink
Update scraper.js
Browse files Browse the repository at this point in the history
  • Loading branch information
oddjones committed Aug 24, 2019
1 parent 7a63a93 commit 6101e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.js
Expand Up @@ -16,7 +16,7 @@ function initDatabase(callback) {
function updateRow(db, bikeName, imgUrl) {
// Insert some data.
var statement = db.prepare("INSERT INTO data (name, imgUrl) VALUES (?, ?)");
statement.run(bikeName, imgUrl);
statement.run([bikeName, imgUrl]);
statement.finalize();
}

Expand Down

0 comments on commit 6101e39

Please sign in to comment.