From 1da818d84397419290a6d0e0f128d49df0a3827d Mon Sep 17 00:00:00 2001 From: Matthieu Haineault Date: Fri, 6 Feb 2026 15:12:11 -0500 Subject: [PATCH] fix(dockerfile): modified Prisma Client generate command line to match prisma 7.3.0 with multiple databases --- Dockerfile | 2 +- src/customer-support/accounts/account.controller.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index d0930a5..48a2cb4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,7 +49,7 @@ RUN npm install COPY . . # Generate Prisma client -RUN npx prisma generate +RUN npm run prisma:generate # Build the NestJS application RUN npm run build diff --git a/src/customer-support/accounts/account.controller.ts b/src/customer-support/accounts/account.controller.ts index 0ecfd1d..8fc97ee 100644 --- a/src/customer-support/accounts/account.controller.ts +++ b/src/customer-support/accounts/account.controller.ts @@ -11,12 +11,12 @@ export class AccountController { ) { } @Get() - findAllAccounts(){ + findAllAccounts() { return this.accountService.findAllAccounts(); } @Get('account/:id') - findAccountById(@Param('accountId') accountId: number){ + findAccountById(@Param('accountId') accountId: number) { return this.accountService.findAccountById(accountId); }