mirror of
https://github.com/immich-app/immich.git
synced 2025-07-15 20:38:26 +02:00
chore(server): don't check null dates (#17664)
This commit is contained in:
parent
8b38f8a58d
commit
ed2b54527c
1 changed files with 1 additions and 6 deletions
|
@ -582,12 +582,7 @@ export class LibraryService extends BaseService {
|
|||
return AssetSyncResult.CHECK_OFFLINE;
|
||||
}
|
||||
|
||||
if (
|
||||
!asset.fileCreatedAt ||
|
||||
!asset.localDateTime ||
|
||||
!asset.fileModifiedAt ||
|
||||
stat.mtime.valueOf() !== asset.fileModifiedAt.valueOf()
|
||||
) {
|
||||
if (stat.mtime.valueOf() !== asset.fileModifiedAt.valueOf()) {
|
||||
this.logger.verbose(`Asset ${asset.originalPath} needs metadata extraction in library ${asset.libraryId}`);
|
||||
|
||||
return AssetSyncResult.UPDATE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue