mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-30 10:12:33 -04:00 
			
		
		
		
	chore(server): don't check null dates (#17664)
This commit is contained in:
		
							parent
							
								
									8b38f8a58d
								
							
						
					
					
						commit
						ed2b54527c
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user