fix: load original image for gifs (#10252)

This commit is contained in:
Michel Heusschen 2024-06-13 12:57:46 +02:00 committed by GitHub
parent fb641c74be
commit a54e01ef2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 81 additions and 11 deletions

View file

@ -52,6 +52,7 @@ const assetResponse: AssetResponseDto = {
ownerId: 'user_id_1',
deviceId: 'device_id_1',
type: AssetType.VIDEO,
originalMimeType: 'image/jpeg',
originalPath: 'fake_path/jpeg',
originalFileName: 'asset_1.jpeg',
resized: false,
@ -82,6 +83,7 @@ const assetResponse: AssetResponseDto = {
const assetResponseWithoutMetadata = {
id: 'id_1',
type: AssetType.VIDEO,
originalMimeType: 'image/jpeg',
resized: false,
thumbhash: null,
localDateTime: today,