fix: wrong decoration

This commit is contained in:
Methapon Metanipat 2024-10-28 16:33:20 +07:00
parent 6d8d8dd635
commit b9ec4eadc7

View file

@ -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 },