fix sort order

This commit is contained in:
Tyler Shipe 2021-10-06 17:31:11 -07:00
parent ef912903ec
commit 18746e05ea
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ app.get("/perp/funding_rate", async (req, res) => {
"time"
FROM perp_market_stats
WHERE time > NOW() - interval '1 hour' AND "name" = :market AND "mangoGroup" = :mangoGroup
ORDER BY time`,
ORDER BY time DESC`,
{
replacements: { market, mangoGroup },
type: QueryTypes.SELECT,