fix: wrong path

This commit is contained in:
Methapon Metanipat 2024-10-16 11:38:18 +07:00
parent 63a204b81a
commit 9e38fac8a7

View file

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