From 8a82c69419dc358fbaeab322c32d18ee84656feb Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 5 Sep 2022 21:08:53 -0700 Subject: missing imports and fastify err responses --- routes/info.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'routes/info.js') diff --git a/routes/info.js b/routes/info.js index 06736b9a..001caf85 100644 --- a/routes/info.js +++ b/routes/info.js @@ -1,5 +1,8 @@ import app from "$app"; import sequelize from '@sequelize/core'; +import config from "$config"; +import store from "$lib/store"; + const { Op } = sequelize; /** @@ -15,7 +18,7 @@ app.get("/info", async (req, res, next) => { const { clientVersion } = config; const info = { - nodes: networks, + nodes: store.networks, clientVersion, }; -- cgit v1.2.3