nalnir/crypties

MONGO_URI not found when disconnecting wallet and connect it again

Closed this issue · 1 comments

nalnir commented

When disconnecting the wallet and connecting it again, the MONGO_URI env variable is not found causeing to throw an error in connectDB function.

nalnir commented

This one is very strange as it fires the throw Error, so instead using return statement.