diff options
| author | Adam Soltys <[email protected]> | 2022-09-05 20:38:22 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-05 20:38:22 -0700 |
| commit | 39fd8f38c7c9e3d231f7347ea51f79812fd524da (patch) | |
| tree | f6deb8c7a8cd6539c46e3331e3b4b6e953c4bef6 /routes/lightning | |
| parent | a5080abb26a1dbb65c6d0889d30ad58f2098dae7 (diff) | |
| download | coinos-server-39fd8f38c7c9e3d231f7347ea51f79812fd524da.tar.gz coinos-server-39fd8f38c7c9e3d231f7347ea51f79812fd524da.zip | |
custom loader
Diffstat (limited to 'routes/lightning')
| -rw-r--r-- | routes/lightning/channelRequest.js | 2 | ||||
| -rw-r--r-- | routes/lightning/receive.js | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/routes/lightning/channelRequest.js b/routes/lightning/channelRequest.js index 11c76abf..a2a29d4d 100644 --- a/routes/lightning/channelRequest.js +++ b/routes/lightning/channelRequest.js @@ -1,4 +1,4 @@ -import { lnurlServer } from "../lnurl.js"; +import { lnurlServer } from "$lnurl.js"; export default async (req, res) => { let { localAmt, pushAmt } = req.body; diff --git a/routes/lightning/receive.js b/routes/lightning/receive.js index f013efd7..e5e93e91 100644 --- a/routes/lightning/receive.js +++ b/routes/lightning/receive.js @@ -1,9 +1,9 @@ -import config from "../../config/index.js"; -import { notify } from "../../lib/notifications.js"; -import { callWebhook } from "../../lib/webhooks.js"; +import config from "$config/index.js"; +import { notify } from "$lib/notifications.js"; +import { callWebhook } from "$lib/webhooks.js"; import { computeConversionFee } from './conversionFee.js'; -import { sendLiquid } from "../liquid/send.js"; -import ln from "../../lib/ln.js"; +import { sendLiquid } from "$liquid/send.js"; +import ln from "$lib/ln.js"; const handlePayment = async (msg) => { l("incoming lightning payment", msg.value, msg.payment_request, msg.settled); |
