mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 04:27:59 +01:00
reindex image after replacement
This commit is contained in:
parent
0c7f13932b
commit
982adb9ba5
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ defmodule PhilomenaWeb.Image.FileController do
|
||||||
spawn fn ->
|
spawn fn ->
|
||||||
Images.repair_image(image)
|
Images.repair_image(image)
|
||||||
end
|
end
|
||||||
|
Images.reindex_image(image)
|
||||||
|
|
||||||
conn
|
conn
|
||||||
|> put_flash(:info, "Successfully updated file.")
|
|> put_flash(:info, "Successfully updated file.")
|
||||||
|
|
Loading…
Reference in a new issue