fix: added db seed at server startup

This commit is contained in:
Saad Jutt
2022-04-19 23:25:05 +05:00
parent c7ffde1a3b
commit 2e63831b90
5 changed files with 42 additions and 3 deletions
+1 -1
View File
@@ -59,6 +59,6 @@ export default setProcessVariables().then(async () => {
app.use(onError)
await connectDB()
connectDB()
return app
})