1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-11-24 08:42:24 +02:00

missingThumbnails never can be null. It is not needed to delete it.

#437
This commit is contained in:
Patrik J. Braun 2022-06-28 09:32:38 +02:00
parent 849ebbec9e
commit 3fdc08942a

View File

@ -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;