Skip to content

Commit

Permalink
fix purge
Browse files Browse the repository at this point in the history
  • Loading branch information
esbenp committed Nov 14, 2017
1 parent fe28f31 commit eb6c923
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pdf-bot",
"version": "0.5.2",
"version": "0.5.3",
"author": "Esben Petersen <esbenspetersen@gmail.com>",
"homepage": "https://github.com/esbenp/pdf-bot",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/db/pgsql.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function purge (db, failed = false, pristine = false, maxTries = 5) {
params.push(maxTries)
}

return db.query(query)
return db.query(query, params)
}

function setIsBusy (db, isBusy) {
Expand Down

0 comments on commit eb6c923

Please sign in to comment.