diff --git a/src/utils/minio.ts b/src/utils/minio.ts index 89f25a3..305d5fd 100644 --- a/src/utils/minio.ts +++ b/src/utils/minio.ts @@ -46,7 +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 || ""}`, - attachment: (userId: string, name?: string) => `user/attachment-${userId}-${name || ""}`, + profile: (userId: string, name?: string) => `user/profile-image-${userId}/${name || ""}`, + attachment: (userId: string, name?: string) => `user/attachment-${userId}/${name || ""}`, }, };