diff --git a/src/utils/minio.ts b/src/utils/minio.ts index 00cef04..89f25a3 100644 --- a/src/utils/minio.ts +++ b/src/utils/minio.ts @@ -46,6 +46,7 @@ export const fileLocation = { bank: (branchId: string, bankId: string) => `branch/bank-qr-${branchId}-${bankId}`, }, 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 || ""}`, }, };