diff --git a/server/util/minio.ts b/server/util/minio.ts index 6f8f90f..b2166e7 100644 --- a/server/util/minio.ts +++ b/server/util/minio.ts @@ -33,7 +33,7 @@ export const generateFileUUID = async () => { } export const storePhoto = async (uuid: string, data: Buffer) => { - await minioClient.putObject(config.minioBucket, `${uuid}.jpgshowPreview`, data, { + await minioClient.putObject(config.minioBucket, `${uuid}.jpg`, data, { 'Content-Type': 'image/jpeg', }); -} \ No newline at end of file +}