diff --git a/src/controllers/05-quotation-payment-controller.ts b/src/controllers/05-quotation-payment-controller.ts index a2acb78..0bd9ef3 100644 --- a/src/controllers/05-quotation-payment-controller.ts +++ b/src/controllers/05-quotation-payment-controller.ts @@ -9,7 +9,7 @@ import { fileLocation, getFile, setFile } from "../utils/minio"; @Tags("Quotation") @Route("api/v1/quotation/{quotationId}/payment") export class QuotationPayment extends Controller { - @Get("quotationId") + @Get() async getPayment(@Path() quotationId: string) { const record = await prisma.quotation.findFirst({ where: { id: quotationId },