aboutsummaryrefslogtreecommitdiffstats
path: root/routes/info.js
diff options
context:
space:
mode:
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,
};