From e581bc2d4ef12b3490126179df807589fcab513a Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Mon, 6 Jul 2020 14:42:10 -0400 Subject: [PATCH] ensure animation info is present in api --- lib/philomena_web/views/api/json/image_view.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/philomena_web/views/api/json/image_view.ex b/lib/philomena_web/views/api/json/image_view.ex index ec0a9699..abfc347e 100644 --- a/lib/philomena_web/views/api/json/image_view.ex +++ b/lib/philomena_web/views/api/json/image_view.ex @@ -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,