diff options
author | eug-vs <eug-vs@keemail.me> | 2020-12-04 00:54:07 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-12-04 00:54:07 +0300 |
commit | a79e87296271a2891594a1ab11d746fdd875c928 (patch) | |
tree | 83ce7d7400abe4bea0813c2f8762f801e5128b5b /src/connectDb.js | |
parent | 778f614a8eb753529c02d71e49486846391f0a3f (diff) | |
download | bsu-fantom-a79e87296271a2891594a1ab11d746fdd875c928.tar.gz |
refactor: migrate to mongo-cronjob
Diffstat (limited to 'src/connectDb.js')
-rw-r--r-- | src/connectDb.js | 6 |
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; |