fix: path

This commit is contained in:
Methapon Metanipat 2024-09-06 14:03:02 +07:00
parent f911384242
commit 3ad22f95ef

View file

@ -46,7 +46,7 @@ export const fileLocation = {
bank: (branchId: string, bankId: string) => `branch/bank-qr-${branchId}-${bankId}`, bank: (branchId: string, bankId: string) => `branch/bank-qr-${branchId}-${bankId}`,
}, },
user: { user: {
profile: (userId: string, name?: string) => `user/profile-image-${userId}-${name || ""}`, profile: (userId: string, name?: string) => `user/profile-image-${userId}/${name || ""}`,
attachment: (userId: string, name?: string) => `user/attachment-${userId}-${name || ""}`, attachment: (userId: string, name?: string) => `user/attachment-${userId}/${name || ""}`,
}, },
}; };