diff --git a/src/utils/minio.ts b/src/utils/minio.ts index 8fc89bd..55ed921 100644 --- a/src/utils/minio.ts +++ b/src/utils/minio.ts @@ -91,8 +91,8 @@ export const fileLocation = { img: (serviceId: string, name?: string) => `service/img-${serviceId}/${name || ""}`, }, quotation: { - payment: (quotationId: string, paymentId: string) => - `quotation/payment-${quotationId}/${paymentId || ""}`, + payment: (quotationId: string, paymentId: string, name?: string) => + `quotation/payment-${quotationId}/${paymentId}/${name || ""}`, }, request: { attachment: (requestId: string, name?: string) =>