chore: undo $ prepend on queries
This commit is contained in:
parent
f3f2bb01b0
commit
ba4117173e
50 changed files with 215 additions and 227 deletions
|
|
@ -78,7 +78,7 @@ function customerHistory (customerId, thresholdDays) {
|
|||
ORDER BY created;`
|
||||
|
||||
const days = _.isNil(thresholdDays) ? 0 : thresholdDays
|
||||
return db.$any(sql, [customerId, `${days} days`])
|
||||
return db.any(sql, [customerId, `${days} days`])
|
||||
}
|
||||
|
||||
module.exports = { post, cancel, customerHistory }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue