ensure animation info is present in api

This commit is contained in:
byte[] 2020-07-06 14:42:10 -04:00
parent 70e70254ed
commit e581bc2d4e

View file

@ -61,6 +61,7 @@ defmodule PhilomenaWeb.Api.Json.ImageView do
mime_type: image.image_mime_type,
size: image.image_size,
duration: image.image_duration,
animated: image.image_is_animated,
format: image.image_format,
aspect_ratio: image.image_aspect_ratio,
name: image.image_name,