aboutsummaryrefslogtreecommitdiffstats
path: root/startup.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-07 13:11:12 -0700
committerAdam Soltys <[email protected]>2022-09-07 13:11:12 -0700
commit06b59b585ac9af7be106b9c1271d251ba20f6630 (patch)
treed01db8fa25ade19c534f9ac34b11c3bff1ac507d /startup.js
parentca5ccaf2deeba7eda2c16fd1b7d33aa4c25e960f (diff)
downloadcoinos-server-06b59b585ac9af7be106b9c1271d251ba20f6630.tar.gz
coinos-server-06b59b585ac9af7be106b9c1271d251ba20f6630.zip
clean up
Diffstat (limited to 'startup.js')
-rw-r--r--startup.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/startup.js b/startup.js
deleted file mode 100644
index 807604e8..00000000
--- a/startup.js
+++ /dev/null
@@ -1,25 +0,0 @@
-// Can use this file to run custom scripts on startup
-
-/*
-(async () => {
- let invoice = await db.Invoice.findOne({
- where: { id: 47391 }
- });
-
- let payment = await db.Payment.findOne({
- where: { invoice_id: 47391 },
-
- include: {
- model: db.Account,
- as: "account"
- }
- });
-
- console.log(invoice.id, payment.id);
- try {
- await callWebhook(invoice, payment);
- } catch (e) {
- console.log("uh oh", e);
- }
-})();
-*/