mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Fix includes
This commit is contained in:
		
							parent
							
								
									7a1623e6a1
								
							
						
					
					
						commit
						7a49681dd2
					
				| @ -873,11 +873,11 @@ class LibraryItem extends Model { | |||||||
|       attributes: ['id', 'mediaType', 'mediaId', 'libraryId'], |       attributes: ['id', 'mediaType', 'mediaId', 'libraryId'], | ||||||
|       include: [ |       include: [ | ||||||
|         { |         { | ||||||
|           model: this.bookModel, |           model: this.sequelize.models.book, | ||||||
|           attributes: ['id', 'coverPath'] |           attributes: ['id', 'coverPath'] | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           model: this.podcastModel, |           model: this.sequelize.models.podcast, | ||||||
|           attributes: ['id', 'coverPath'] |           attributes: ['id', 'coverPath'] | ||||||
|         } |         } | ||||||
|       ] |       ] | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user