From 3fdc08942ae165be79eb1db36c54b01b0b74a57d Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Tue, 28 Jun 2022 09:32:38 +0200 Subject: [PATCH] missingThumbnails never can be null. It is not needed to delete it. #437 --- src/common/entities/ConentWrapper.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/common/entities/ConentWrapper.ts b/src/common/entities/ConentWrapper.ts index 258802ec..3f7d128d 100644 --- a/src/common/entities/ConentWrapper.ts +++ b/src/common/entities/ConentWrapper.ts @@ -164,10 +164,6 @@ export class ContentWrapper { } } - if (m.missingThumbnails === 0) { - delete m.missingThumbnails; - } - if (MediaDTOUtils.isPhoto(m)) { delete (m as VideoDTO).metadata.bitRate; delete (m as VideoDTO).metadata.duration;