diff --git a/server/src/immich/api-v1/asset/asset-repository.ts b/server/src/immich/api-v1/asset/asset-repository.ts index 4fd2f3c064..7b3dfea4df 100644 --- a/server/src/immich/api-v1/asset/asset-repository.ts +++ b/server/src/immich/api-v1/asset/asset-repository.ts @@ -260,11 +260,15 @@ export class AssetRepository implements IAssetRepository { asset.isArchived = dto.isArchived ?? asset.isArchived; if (asset.exifInfo != null) { - asset.exifInfo.description = dto.description || ''; + if (dto.description !== undefined) { + asset.exifInfo.description = dto.description; + } await this.exifRepository.save(asset.exifInfo); } else { const exifInfo = new ExifEntity(); - exifInfo.description = dto.description || ''; + if (dto.description !== undefined) { + exifInfo.description = dto.description; + } exifInfo.asset = asset; await this.exifRepository.save(exifInfo); asset.exifInfo = exifInfo;