Skip to content

Commit

Permalink
fix: apply new db_connect import syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Mersho committed Jan 8, 2024
1 parent 7329841 commit c1a77de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require('dotenv').config();
const { SocksProxyAgent } = require('socks-proxy-agent');
const { start } = require('./bot');
const mongoConnect = require('./db_connect');
const { mongoConnect } = require('./db_connect');
const { resubscribeInvoices } = require('./ln');
const { logger } = require('./logger');
const { delay } = require('./util');
Expand Down
2 changes: 1 addition & 1 deletion tests/bot_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const ordersActions = require('../bot/ordersActions');
const testUser = require('./user');
const testOrder = require('./order');
const { getCurrenciesWithPrice } = require('../util');
const mongoConnect = require('../db_connect');
const { mongoConnect } = require('../db_connect');

mongoConnect();

Expand Down

0 comments on commit c1a77de

Please sign in to comment.