Fix API reverse search

This commit is contained in:
Liam 2024-08-27 09:05:45 -04:00
parent 4dd0c8c11b
commit 1550125b52

View file

@ -27,6 +27,10 @@ defmodule PhilomenaWeb.Api.Json.Search.ReverseController do
conn
|> put_view(PhilomenaWeb.Api.Json.ImageView)
|> render("index.json", images: images, total: length(images), interactions: interactions)
|> render("index.json",
images: images,
total: images.total_entries,
interactions: interactions
)
end
end