From 9e2476049d9dadca3634811be06c9008524441ec Mon Sep 17 00:00:00 2001 From: Pau Costa Date: Sat, 28 Mar 2026 18:40:02 +0100 Subject: [PATCH] Update reservations logic to handle non-nullable fields and type adjustments - Adjust `userId` handling in update DTO logic to allow undefined instead of null. - Cast certain fields to `any` to handle edge cases in type compatibility. - Extend Prisma imports to include `Role` for future role-based logic enhancements. --- .idea/workspace.xml | 39 ++++++++++++------- apps/api/src/reports/reports.service.ts | 4 +- .../src/reservations/reservations.service.ts | 10 ++--- 3 files changed, 33 insertions(+), 20 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index e86c4ee..2e3b387 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,16 +4,10 @@