fix: file location

This commit is contained in:
Methapon Metanipat 2024-10-21 11:18:48 +07:00
parent c62c12642e
commit a0f1765309

View file

@ -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) =>