summaryrefslogtreecommitdiff
path: root/src/connectDb.js
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-12-04 00:54:07 +0300
committereug-vs <eug-vs@keemail.me>2020-12-04 00:54:07 +0300
commita79e87296271a2891594a1ab11d746fdd875c928 (patch)
tree83ce7d7400abe4bea0813c2f8762f801e5128b5b /src/connectDb.js
parent778f614a8eb753529c02d71e49486846391f0a3f (diff)
downloadbsu-fantom-a79e87296271a2891594a1ab11d746fdd875c928.tar.gz
refactor: migrate to 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;