We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b91e00 commit df4fcedCopy full SHA for df4fced
api/routes/price_history.mjs
@@ -11,7 +11,7 @@ router.get('/?', async (req, res) => {
11
return res.json(cached)
12
}
13
14
- const data = await db('historical_price')
+ const data = await db('historical_price').orderBy('timestamp_utc', 'asc')
15
16
if (data.length) {
17
// set cache for 12 hours
0 commit comments