user factory method
This commit is contained in:
1 parent
9414b87e27
commit
fd1edf9651
1 file changed
+6
-1
+6
-1
@@ -191,7 +191,12 @@ const startApp = async () => {
|
||||
statusService,
|
||||
notificationService,
|
||||
});
|
||||
const jobQueue = new JobQueue({ db, jobQueueHelper, logger, stringService });
|
||||
const jobQueue = await JobQueue.create({
|
||||
db,
|
||||
jobQueueHelper,
|
||||
logger,
|
||||
stringService,
|
||||
});
|
||||
|
||||
// Register services
|
||||
ServiceRegistry.register(JobQueue.SERVICE_NAME, jobQueue);
|
||||
|
||||
Reference in new issue
Block a user