diff --git a/src/controllers/05-payment-controller.ts b/src/controllers/05-payment-controller.ts index ac992c4..5be16f4 100644 --- a/src/controllers/05-payment-controller.ts +++ b/src/controllers/05-payment-controller.ts @@ -85,7 +85,7 @@ export class QuotationPayment extends Controller { @Get("{quotationId}") @Security("keycloak") - async getPayment(@Query() quotationId: string) { + async getPayment(@Path() quotationId: string) { const record = await prisma.payment.findFirst({ where: { invoice: { quotationId } }, include: { createdBy: true },