From b9ec4eadc7d56e274f111bf7ee4de9246f02c7de Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Mon, 28 Oct 2024 16:33:20 +0700 Subject: [PATCH] fix: wrong decoration --- src/controllers/05-payment-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 },