aboutsummaryrefslogtreecommitdiffstats
path: root/routes/payments.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-02 11:02:06 -0700
committerAdam Soltys <[email protected]>2022-09-02 11:02:06 -0700
commit7a8d64833de8873afb92982b3f5bfff59b30c542 (patch)
treebc92e20c7d5127d3b6b17f7b8d3190e08579f49e /routes/payments.js
parentb06e117af96a38b163384f6a343f1de7c8996724 (diff)
downloadcoinos-server-7a8d64833de8873afb92982b3f5bfff59b30c542.tar.gz
coinos-server-7a8d64833de8873afb92982b3f5bfff59b30c542.zip
es6 migration
Diffstat (limited to 'routes/payments.js')
-rw-r--r--routes/payments.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/routes/payments.js b/routes/payments.js
index 3bcc271d..a9ad7d82 100644
--- a/routes/payments.js
+++ b/routes/payments.js
@@ -1,7 +1,7 @@
-const fs = require("fs");
-const BitcoinCore = require("@asoltys/bitcoin-core");
-const { join } = require("path");
-const { Op } = require("sequelize");
+import fs from 'fs';
+import BitcoinCore from '@asoltys/bitcoin-core';
+import { join } from 'path';
+import { Op } from 'sequelize';
app.post("/send", auth, require("./send"));
app.post(