From a79e87296271a2891594a1ab11d746fdd875c928 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Fri, 4 Dec 2020 00:54:07 +0300 Subject: refactor: migrate to mongo-cronjob --- src/connectDb.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/connectDb.js') 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; -- cgit v1.2.3