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

@ -108,7 +108,7 @@ function getMachines (rates, settings) {
where display=TRUE and
paired=TRUE
order by created`
return db.$any(sql, [STALE_INTERVAL])
return db.any(sql, [STALE_INTERVAL])
.then(_.map(_.partial(mapMachine, [rates, settings])))
}

View file

@ -260,6 +260,6 @@ test('Verify axios request schema', async () => {
)
)
db.$any.mockResolvedValue(dbResponse)
db.any.mockResolvedValue(dbResponse)
await car.update(rates, settings)
})