summaryrefslogtreecommitdiff
path: root/src/connectDb.js
diff options
context:
space:
mode:
authorEugene Sokolov <eug-vs@keemail.me>2020-12-04 01:33:37 +0300
committerGitHub <noreply@github.com>2020-12-04 01:33:37 +0300
commitfac35a9a0ad1628cf31380bf29c251f6c51f13f1 (patch)
tree0aa142dce4a5d8dc4e90b090007cfbba3b4fc0fb /src/connectDb.js
parent778f614a8eb753529c02d71e49486846391f0a3f (diff)
parent8ef929e503b00d93c5fee4ab996aeaa9abf283d3 (diff)
downloadbsu-fantom-fac35a9a0ad1628cf31380bf29c251f6c51f13f1.tar.gz
Merge pull request #1 from eug-vs/refactor/mongo-cronjobHEADmaster
Refactor/mongo cronjob
Diffstat (limited to 'src/connectDb.js')
-rw-r--r--src/connectDb.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/connectDb.js b/src/connectDb.js
index c7ad13b..416ae1d 100644
--- a/src/connectDb.js
+++ b/src/connectDb.js
@@ -32,9 +32,5 @@ const connectDb = () => new Promise ((resolve, reject) => {
});
});
-const getConnection = () => connection;
-module.exports = {
- connectDb,
- getConnection
-};
+module.exports = connectDb;