feat: branch attachment

This commit is contained in:
Methapon Metanipat 2024-09-12 13:29:48 +07:00
parent 155962b996
commit b9a616b9a9
2 changed files with 36 additions and 0 deletions

View file

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