1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-05 05:40:06 +00:00

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

View File

@@ -59,6 +59,6 @@ export default setProcessVariables().then(async () => {
app.use(onError)
await connectDB()
connectDB()
return app
})