From a12a64e64a863fc6f0172be862d984a4e755636a Mon Sep 17 00:00:00 2001 From: Nathnael Date: Fri, 7 Aug 2026 08:18:20 +0000 Subject: [PATCH] fix: restore WagonCancellationView import after merge The dev merge kept this branch's booking-guards import list, dropping the decorator the new wagon-cancellation history route uses. --- .../src/modules/bookings/bookings.controller.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/edr-freight-api/src/modules/bookings/bookings.controller.ts b/apps/edr-freight-api/src/modules/bookings/bookings.controller.ts index a4ba83dd9..b7eb526a3 100644 --- a/apps/edr-freight-api/src/modules/bookings/bookings.controller.ts +++ b/apps/edr-freight-api/src/modules/bookings/bookings.controller.ts @@ -19,7 +19,13 @@ import { } from '@nestjs/common'; import { CurrentUser } from '@edr/api-common'; import type { TCurrentUser } from '@tria-plc/api-common/modules/auth/types/current-user.type'; -import { BookingStaff, BookingView, MixedAudience, PortalCustomer } from '../../common/booking-guards'; +import { + BookingStaff, + BookingView, + MixedAudience, + PortalCustomer, + WagonCancellationView, +} from '../../common/booking-guards'; import { FREIGHT_PERMS } from '../../seed/freight-permissions.registry'; import { AnyFilesInterceptor, FileInterceptor } from '@nestjs/platform-express'; import {