summaryrefslogtreecommitdiff
path: root/src/connectDb.js
diff options
context:
space:
mode:
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;