Fixed a buf for not waiting async method
This commit is contained in:
parent
d7a87f54bb
commit
3de4354458
@ -20,7 +20,8 @@ export const init: ServerInit = async () => {
|
||||
SessionApp.init(
|
||||
new SessionDBBroker()
|
||||
)
|
||||
JoseApp.init()
|
||||
// This is async
|
||||
await JoseApp.init()
|
||||
|
||||
logger.debug("Init run successfully", "App Init")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user