diff --git a/src/index.ts b/src/index.ts index 7c82e6d..f6ef78e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -18,7 +18,7 @@ app.get("/spot", async (req, res) => { } const stats = await sequelize.query( - `SELECT time_bucket('60 minutes', time) AS "hourly", + `SELECT time_bucket('4 hours', time) AS "hourly", "name", avg("totalDeposits")::float AS "totalDeposits", avg("totalBorrows")::float AS "totalBorrows",