From 638be316024ecd4eb8c3e75102dbcfc2bcafa4c1 Mon Sep 17 00:00:00 2001 From: green-jay Date: Mon, 14 Aug 2023 12:44:03 +0200 Subject: [PATCH] rename in response --- app/routes/hydradx-ui/v1/stats/tvl.mjs | 2 +- app/routes/hydradx-ui/v1/stats/volume.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routes/hydradx-ui/v1/stats/tvl.mjs b/app/routes/hydradx-ui/v1/stats/tvl.mjs index 5d52d9c..01de825 100644 --- a/app/routes/hydradx-ui/v1/stats/tvl.mjs +++ b/app/routes/hydradx-ui/v1/stats/tvl.mjs @@ -32,7 +32,7 @@ export default async (fastify, opts) => { items: { type: "object", properties: { - interval: { type: "string" }, + timestamp: { type: "string" }, tvl_usd: { type: "number" }, }, }, diff --git a/app/routes/hydradx-ui/v1/stats/volume.mjs b/app/routes/hydradx-ui/v1/stats/volume.mjs index f30f09b..199687b 100644 --- a/app/routes/hydradx-ui/v1/stats/volume.mjs +++ b/app/routes/hydradx-ui/v1/stats/volume.mjs @@ -43,7 +43,7 @@ export default async (fastify, opts) => { items: { type: "object", properties: { - datetime: { type: "string" }, + timestamp: { type: "string" }, volume_usd: { type: "number" }, }, },