diff options
| author | Adam Soltys <[email protected]> | 2022-09-05 20:44:26 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-05 20:44:26 -0700 |
| commit | 3ae34e6bf84d988c25254374768f2898865df857 (patch) | |
| tree | e08b5074b9c5ebb3375b3e28fd0aac220042c44d /routes/lightning | |
| parent | 39fd8f38c7c9e3d231f7347ea51f79812fd524da (diff) | |
| download | coinos-server-3ae34e6bf84d988c25254374768f2898865df857.tar.gz coinos-server-3ae34e6bf84d988c25254374768f2898865df857.zip | |
drop js extension
Diffstat (limited to 'routes/lightning')
| -rw-r--r-- | routes/lightning/channelRequest.js | 2 | ||||
| -rw-r--r-- | routes/lightning/index.js | 10 | ||||
| -rw-r--r-- | routes/lightning/receive.js | 12 |
3 files changed, 12 insertions, 12 deletions
diff --git a/routes/lightning/channelRequest.js b/routes/lightning/channelRequest.js index a2a29d4d..e8938929 100644 --- a/routes/lightning/channelRequest.js +++ b/routes/lightning/channelRequest.js @@ -1,4 +1,4 @@ -import { lnurlServer } from "$lnurl.js"; +import { lnurlServer } from "$lnurl"; export default async (req, res) => { let { localAmt, pushAmt } = req.body; diff --git a/routes/lightning/index.js b/routes/lightning/index.js index 5d82cb5b..97c7c056 100644 --- a/routes/lightning/index.js +++ b/routes/lightning/index.js @@ -1,8 +1,8 @@ -import channel from "./channel.js"; -import channelRequest from "./channelRequest.js"; -import invoice from "./invoice.js"; -import query from "./query.js"; -import send from "./send.js"; +import channel from "./channel"; +import channelRequest from "./channelRequest"; +import invoice from "./invoice"; +import query from "./query"; +import send from "./send"; export default { channel, diff --git a/routes/lightning/receive.js b/routes/lightning/receive.js index e5e93e91..790338d2 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 { computeConversionFee } from './conversionFee.js'; -import { sendLiquid } from "$liquid/send.js"; -import ln from "$lib/ln.js"; +import config from "$config"; +import { notify } from "$lib/notifications"; +import { callWebhook } from "$lib/webhooks"; +import { computeConversionFee } from './conversionFee'; +import { sendLiquid } from "$liquid/send"; +import ln from "$lib/ln"; const handlePayment = async (msg) => { l("incoming lightning payment", msg.value, msg.payment_request, msg.settled); |
