Closed nalnir closed 1 year ago
When disconnecting the wallet and connecting it again, the MONGO_URI env variable is not found causeing to throw an error in connectDB function.
This one is very strange as it fires the throw Error, so instead using return statement.
When disconnecting the wallet and connecting it again, the MONGO_URI env variable is not found causeing to throw an error in connectDB function.