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); }