diff --git a/src/controllers/05-quotation-payment-controller.ts b/src/controllers/05-quotation-payment-controller.ts index eb4b146..dcb425e 100644 --- a/src/controllers/05-quotation-payment-controller.ts +++ b/src/controllers/05-quotation-payment-controller.ts @@ -20,7 +20,7 @@ import HttpError from "../interfaces/http-error"; import HttpStatus from "../interfaces/http-status"; import { deleteFile, fileLocation, getFile, getPresigned, listFile, setFile } from "../utils/minio"; -@Tags("Quotation Payment") +@Tags("Payment") @Route("api/v1/quotation/{quotationId}/payment") export class QuotationPayment extends Controller { @Get() @@ -123,7 +123,6 @@ export class QuotationPayment extends Controller { @Put("{paymentId}/attachment/{name}") async uploadPayment( - @Request() req: express.Request, @Path() quotationId: string, @Path() paymentId: string, @Path() name: string, diff --git a/tsoa.json b/tsoa.json index b74afa9..593d3cb 100644 --- a/tsoa.json +++ b/tsoa.json @@ -43,7 +43,9 @@ { "name": "Work" }, { "name": "Service" }, { "name": "Quotation" }, - { "name": "Quotation Payment" }, + { "name": "Invoice" }, + { "name": "Payment" }, + { "name": "Receipt" }, { "name": "Request List" } ] }