Add display_name to jsonify of album and bookmark.
This commit is contained in:
		
							parent
							
								
									89205ac24a
								
							
						
					
					
						commit
						3c299422d8
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -534,6 +534,7 @@ class Album(ObjectBase, GroupableMixin): | ||||||
|             'description': self.description, |             'description': self.description, | ||||||
|             'title': self.title, |             'title': self.title, | ||||||
|             'created': self.created, |             'created': self.created, | ||||||
|  |             'display_name': self.display_name, | ||||||
|             'thumbnail_photo': self.thumbnail_photo.id if self._thumbnail_photo else None, |             'thumbnail_photo': self.thumbnail_photo.id if self._thumbnail_photo else None, | ||||||
|             'author': self.get_author().jsonify() if self.author_id else None, |             'author': self.get_author().jsonify() if self.author_id else None, | ||||||
|         } |         } | ||||||
|  | @ -764,6 +765,7 @@ class Bookmark(ObjectBase): | ||||||
|             'url': self.url, |             'url': self.url, | ||||||
|             'created': self.created, |             'created': self.created, | ||||||
|             'title': self.title, |             'title': self.title, | ||||||
|  |             'display_name': self.display_name, | ||||||
|         } |         } | ||||||
|         return j |         return j | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue