hotfix(medusa): Assign jobSchedulerService in EventBus (#2889)
Solves #2886
This commit is contained in:
committed by
GitHub
parent
365d11aca7
commit
d843bc1023
5
.changeset/olive-forks-search.md
Normal file
5
.changeset/olive-forks-search.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/medusa": patch
|
||||
---
|
||||
|
||||
Assign jobSchedulerService in EventBusService
|
||||
@@ -52,6 +52,7 @@ export default class EventBusService {
|
||||
stagedJobRepository,
|
||||
redisClient,
|
||||
redisSubscriber,
|
||||
jobSchedulerService,
|
||||
}: InjectedDependencies,
|
||||
config: ConfigModule,
|
||||
singleton = true
|
||||
@@ -59,6 +60,7 @@ export default class EventBusService {
|
||||
this.config_ = config
|
||||
this.manager_ = manager
|
||||
this.logger_ = logger
|
||||
this.jobSchedulerService_ = jobSchedulerService
|
||||
this.stagedJobRepository_ = stagedJobRepository
|
||||
|
||||
if (singleton) {
|
||||
|
||||
Reference in New Issue
Block a user