fix: enable TransitionRequestedEventHandler

This commit is contained in:
Karol Sójko 2023-10-06 13:02:37 +02:00
parent afe9967d26
commit d8f1c66fd5
No known key found for this signature in database
GPG key ID: C2F813669419D05F
2 changed files with 2 additions and 2 deletions

View file

@ -491,7 +491,7 @@ export class ContainerConfigLoader {
.bind<TransitionRequestedEventHandler>(TYPES.Revisions_TransitionRequestedEventHandler) .bind<TransitionRequestedEventHandler>(TYPES.Revisions_TransitionRequestedEventHandler)
.toConstantValue( .toConstantValue(
new TransitionRequestedEventHandler( new TransitionRequestedEventHandler(
true, false,
container.get<TransitionRevisionsFromPrimaryToSecondaryDatabaseForUser>( container.get<TransitionRevisionsFromPrimaryToSecondaryDatabaseForUser>(
TYPES.Revisions_TransitionRevisionsFromPrimaryToSecondaryDatabaseForUser, TYPES.Revisions_TransitionRevisionsFromPrimaryToSecondaryDatabaseForUser,
), ),

View file

@ -1066,7 +1066,7 @@ export class ContainerConfigLoader {
.bind<TransitionRequestedEventHandler>(TYPES.Sync_TransitionRequestedEventHandler) .bind<TransitionRequestedEventHandler>(TYPES.Sync_TransitionRequestedEventHandler)
.toConstantValue( .toConstantValue(
new TransitionRequestedEventHandler( new TransitionRequestedEventHandler(
true, false,
container.get<TransitionItemsFromPrimaryToSecondaryDatabaseForUser>( container.get<TransitionItemsFromPrimaryToSecondaryDatabaseForUser>(
TYPES.Sync_TransitionItemsFromPrimaryToSecondaryDatabaseForUser, TYPES.Sync_TransitionItemsFromPrimaryToSecondaryDatabaseForUser,
), ),