From de255696f935417eef81656e846eed8a07b26c3a Mon Sep 17 00:00:00 2001 From: Tyler Shipe Date: Mon, 23 Aug 2021 16:01:05 -0400 Subject: [PATCH] add missing quote --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index c07d31d..cc2e48a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -25,7 +25,7 @@ app.get("/spot", async (req, res) => { avg("utilization")::float AS "utilization", avg("depositRate")::float AS "depositRate", avg("borrowRate")::float AS "borrowRate", - avg("baseOraclePrice)::float AS "baseOraclePrice", + avg("baseOraclePrice")::float AS "baseOraclePrice", min("time") AS "time" FROM spot_market_stats WHERE time > current_date - interval '90' day AND "mangoGroup" = :mangoGroup