mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-28 23:00:57 +00:00
fix: register facilities module and booking allocation controller
Neither was wired into the app, so every /facilities route and POST /bookings/:id/allocate-containers returned 404 and their permission keys granted nothing.
This commit is contained in:
@@ -25,6 +25,7 @@ import { BookingLifecycleNotifierService } from './booking-lifecycle-notifier.se
|
||||
import { BookingTransitionService } from './booking-transition.service';
|
||||
import { NotificationsModule } from '../notifications/notifications.module';
|
||||
import { NotificationInboxModule } from '../notification-inbox/notification-inbox.module';
|
||||
import { BookingAllocationController } from './booking-allocation.controller';
|
||||
import { BookingsController } from './bookings.controller';
|
||||
// import { PayController } from './pay.controller';
|
||||
import { BookingsRepository } from './bookings.repository';
|
||||
@@ -88,7 +89,7 @@ import { VehiclesModule } from "../vehicles/vehicles.module";
|
||||
SignaturesModule,
|
||||
registerExchangeModule(),
|
||||
],
|
||||
controllers: [BookingsController],
|
||||
controllers: [BookingsController, BookingAllocationController],
|
||||
providers: [
|
||||
BookingsService,
|
||||
BookingsRepository,
|
||||
|
||||
Reference in New Issue
Block a user