fix: rebuilding posts and media fixed, also removed unnecessary thumbnail rebuild

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-25 14:41:47 +02:00
parent 6314eb577e
commit 5511c05192
5 changed files with 198 additions and 3 deletions

View File

@@ -393,7 +393,6 @@ defmodule BDS.Media do
media
|> Media.changeset(attrs)
|> Repo.insert_or_update!()
|> tap(fn reloaded_media -> ensure_thumbnails(project, reloaded_media) end)
|> tap(&Search.sync_media/1)
end