mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
refactor(server): let user-cleanup inject BudgetService and delete budget.bridge
This commit is contained in:
@@ -90,7 +90,7 @@ const placesSvc = new PlacesService(
|
||||
new JourneyDomainService(dbs(), new RealtimeService(), new TrekPhotosRepository(dbs())),
|
||||
);
|
||||
const accommodationsSvc = new AccommodationsService(dbs(), new PermissionsService(dbs()), new RealtimeService());
|
||||
const membersSvc = new TripMembersService(dbs(), budgetSvc, new UserCleanupService(dbs()), new PermissionsService(dbs()), new RealtimeService(), notificationsStub());
|
||||
const membersSvc = new TripMembersService(dbs(), budgetSvc, new UserCleanupService(dbs(), budgetSvc), new PermissionsService(dbs()), new RealtimeService(), notificationsStub());
|
||||
|
||||
const buildReadModel = (database: DatabaseService, roster: TripMembersService = membersSvc) =>
|
||||
new TripReadModelService(
|
||||
|
||||
Reference in New Issue
Block a user