lint
This commit is contained in:
1 parent
1ec08bb1fa
commit
eaad46b6bc
3 files changed
+7
-6
No files matched your search
+1
-1
@@ -28,7 +28,7 @@ const disconnect = async ()=>{
|
||||
|
||||
const connect = async (config)=>{
|
||||
return await Mongoose.connect(getMongoDBURL(config), { retryWrites: false })
|
||||
.catch(error=>handleConnectionError(error));
|
||||
.catch((error)=>handleConnectionError(error));
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in new issue
Block a user