chore: undo $ prepend on queries

This commit is contained in:
Taranto 2021-07-22 11:06:39 +01:00 committed by Josh Harvey
parent f3f2bb01b0
commit ba4117173e
50 changed files with 215 additions and 227 deletions

View file

@ -10,7 +10,7 @@ function getServerLogs (from = new Date(0).toISOString(), until = new Date().toI
limit $3
offset $4`
return db.$any(sql, [ from, until, limit, offset ])
return db.any(sql, [ from, until, limit, offset ])
.then(_.map(_.mapKeys(_.camelCase)))
}