diff --git a/src/controllers/05-quotation-payment-controller.ts b/src/controllers/05-quotation-payment-controller.ts index 0bd9ef3..2b68ce3 100644 --- a/src/controllers/05-quotation-payment-controller.ts +++ b/src/controllers/05-quotation-payment-controller.ts @@ -24,7 +24,10 @@ export class QuotationPayment extends Controller { } @Post() - async addPayment(@Path() quotationId: string, @Body() body: { amount: number; date: Date }) { + async addPayment( + @Path() quotationId: string, + @Body() body: { amount: number; date: Date; remark: string }, + ) { const record = await prisma.quotation.findUnique({ where: { id: quotationId }, });