From 2b025c54d7b9ab9c654ee632c84968e987c85899 Mon Sep 17 00:00:00 2001 From: Expand-sys Date: Fri, 30 Dec 2022 13:51:07 +1100 Subject: [PATCH] another thing --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 6f813c3..ea3e9b0 100644 --- a/index.js +++ b/index.js @@ -195,7 +195,7 @@ fastify.get( } const seconds = Math.floor(Date.now() / 1000); - graphdata.unshift([0 , balance]) + graphdata.push([graphdata.length+1 , balance]) graphdata.unshift(["Transaction", "Amount"]) } else {