aboutsummaryrefslogtreecommitdiffstats
path: root/routes/info.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-05 21:08:53 -0700
committerAdam Soltys <[email protected]>2022-09-05 21:08:53 -0700
commit8a82c69419dc358fbaeab322c32d18ee84656feb (patch)
treedf71a4f11a16d241a38c30e6841fe199725bc7fb /routes/info.js
parenta3bcd415de65a6ae14ea451d7d1c8f3f136e99d4 (diff)
downloadcoinos-server-8a82c69419dc358fbaeab322c32d18ee84656feb.tar.gz
coinos-server-8a82c69419dc358fbaeab322c32d18ee84656feb.zip
missing imports and fastify err responses
Diffstat (limited to 'routes/info.js')
-rw-r--r--routes/info.js5
1 files changed, 4 insertions, 1 deletions
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,
};