mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +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 ->
|
||||
Images.repair_image(image)
|
||||
end
|
||||
Images.reindex_image(image)
|
||||
|
||||
conn
|
||||
|> put_flash(:info, "Successfully updated file.")
|
||||
|
|
Loading…
Reference in a new issue