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 || ""}`, img: (serviceId: string, name?: string) => `service/img-${serviceId}/${name || ""}`,
}, },
quotation: { quotation: {
payment: (quotationId: string, paymentId: string) => payment: (quotationId: string, paymentId: string, name?: string) =>
`quotation/payment-${quotationId}/${paymentId || ""}`, `quotation/payment-${quotationId}/${paymentId}/${name || ""}`,
}, },
request: { request: {
attachment: (requestId: string, name?: string) => attachment: (requestId: string, name?: string) =>