diff options
| author | Adam Soltys <[email protected]> | 2022-09-05 21:08:53 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-05 21:08:53 -0700 |
| commit | 8a82c69419dc358fbaeab322c32d18ee84656feb (patch) | |
| tree | df71a4f11a16d241a38c30e6841fe199725bc7fb /routes/info.js | |
| parent | a3bcd415de65a6ae14ea451d7d1c8f3f136e99d4 (diff) | |
| download | coinos-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.js | 5 |
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, }; |
