aboutsummaryrefslogtreecommitdiffstats
path: root/lib/send.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/send.js')
-rw-r--r--lib/send.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/send.js b/lib/send.js
index e30f0c4b..e589ca6b 100644
--- a/lib/send.js
+++ b/lib/send.js
@@ -1,8 +1,8 @@
import bolt11 from 'bolt11';
-import { Op } from 'sequelize';
+import { Op } from '@sequelize/core';
import { computeConversionFee, conversionFeeReceiver } from '../routes/lightning/conversionFee.js';
-send = async (amount, memo, hash, user) => {
+export const send = async (amount, memo, hash, user) => {
l.info("attempting lightning payment", user.username, amount, hash);
let payreq = bolt11.decode(hash);