fix: wrong path
This commit is contained in:
parent
63a204b81a
commit
9e38fac8a7
1 changed files with 1 additions and 1 deletions
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue