diff options
| author | Adam Soltys <[email protected]> | 2022-09-06 16:46:57 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-06 16:46:57 -0700 |
| commit | 92fb0ea16c0b687d013bd1683719ee1b3c5a600a (patch) | |
| tree | 9a6d32ab1b99dfaa8e564baf9d6d84b448837737 | |
| parent | 86cca84229ff86b7a2e7c3b525c497f8f58099ad (diff) | |
| download | coinos-server-92fb0ea16c0b687d013bd1683719ee1b3c5a600a.tar.gz coinos-server-92fb0ea16c0b687d013bd1683719ee1b3c5a600a.zip | |
missing imports
| -rw-r--r-- | lib/webhooks.js | 2 | ||||
| -rw-r--r-- | routes/send.js | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/webhooks.js b/lib/webhooks.js index db27f26b..9964bb94 100644 --- a/lib/webhooks.js +++ b/lib/webhooks.js @@ -1,4 +1,6 @@ +import config from "$config"; import wretch from "./wretch"; +import { l } from "$lib/logging"; export const callWebhook = (invoice, payment) => { if (!invoice || !payment) return; diff --git a/routes/send.js b/routes/send.js index d2ec3add..f41b4874 100644 --- a/routes/send.js +++ b/routes/send.js @@ -1,3 +1,5 @@ +import config from "$config"; +import db from "$db"; import { emit } from "$lib/sockets"; import store from "$lib/store"; import { callWebhook } from "$lib/webhooks"; @@ -5,6 +7,7 @@ import axios from "axios"; import { v4 } from "uuid"; import { notify } from "$lib/notifications"; import { sendLiquid } from "$routes/liquid/send"; +import { l, err } from "$lib/logging"; export default async (req, res, next) => { let { |
