mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
fix!: set duration to null when not present (#26982)
This commit is contained in:
parent
2172dde7dc
commit
7d181f0686
15 changed files with 31 additions and 27 deletions
|
|
@ -148,7 +148,6 @@ const createDto = Object.freeze({
|
|||
fileCreatedAt: new Date('2022-06-19T23:41:36.910Z'),
|
||||
fileModifiedAt: new Date('2022-06-19T23:41:36.910Z'),
|
||||
isFavorite: false,
|
||||
duration: '0:00:00.000000',
|
||||
}) as AssetMediaCreateDto;
|
||||
|
||||
const assetEntity = Object.freeze({
|
||||
|
|
@ -160,7 +159,7 @@ const assetEntity = Object.freeze({
|
|||
fileCreatedAt: new Date('2022-06-19T23:41:36.910Z'),
|
||||
updatedAt: new Date('2022-06-19T23:41:36.910Z'),
|
||||
isFavorite: false,
|
||||
duration: '0:00:00.000000',
|
||||
duration: null,
|
||||
files: [] as AssetFile[],
|
||||
exifInfo: {
|
||||
latitude: 49.533_547,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue