Add photo.simple_mimetype to jsonify.
This commit is contained in:
		
							parent
							
								
									387b7f1096
								
							
						
					
					
						commit
						cad360bc3f
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1085,6 +1085,7 @@ class Photo(ObjectBase): | |||
|             'filename': self.basename, | ||||
|             'mimetype': self.mimetype, | ||||
|             'searchhidden': bool(self.searchhidden), | ||||
|             'simple_mimetype': self.simple_mimetype, | ||||
|         } | ||||
|         if include_albums: | ||||
|             j['albums'] = [album.jsonify(minimal=True) for album in self.get_containing_albums()] | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue