diff options
Diffstat (limited to 'routes/lightning')
| -rw-r--r-- | routes/lightning/query.js | 2 | ||||
| -rw-r--r-- | routes/lightning/receive.js | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/routes/lightning/query.js b/routes/lightning/query.js index d01fe442..c5456a6f 100644 --- a/routes/lightning/query.js +++ b/routes/lightning/query.js @@ -1,3 +1,5 @@ +import { emit } from "$lib/sockets"; + export default async (req, res) => { const { payreq } = req.body; diff --git a/routes/lightning/receive.js b/routes/lightning/receive.js index c01592d2..6bc26814 100644 --- a/routes/lightning/receive.js +++ b/routes/lightning/receive.js @@ -1,3 +1,4 @@ +import { emit } from "$lib/sockets"; import config from "$config"; import { notify } from "$lib/notifications"; import { callWebhook } from "$lib/webhooks"; |
