reindex image after replacement

This commit is contained in:
byte[] 2019-12-30 18:33:20 -05:00
parent 0c7f13932b
commit 982adb9ba5

View file

@ -14,6 +14,7 @@ defmodule PhilomenaWeb.Image.FileController do
spawn fn ->
Images.repair_image(image)
end
Images.reindex_image(image)
conn
|> put_flash(:info, "Successfully updated file.")