mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Update LibraryItemController.js to respond with objects
Changes: - `batchGet` (POST /api/items/batch/get)
This commit is contained in:
		
							parent
							
								
									cd37a7618e
								
							
						
					
					
						commit
						b84882d9d1
					
				| @ -308,7 +308,9 @@ class LibraryItemController { | ||||
|       const li = this.db.libraryItems.find(_li => _li.id === lid) | ||||
|       if (li) libraryItems.push(li.toJSONExpanded()) | ||||
|     }) | ||||
|     res.json(libraryItems) | ||||
|     res.json({ | ||||
|       libraryItems: libraryItems | ||||
|     }) | ||||
|   } | ||||
| 
 | ||||
|   // POST: api/items/batch/quickmatch
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user