mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-18 10:59:17 +00:00
Merge branch 'set-cache-on-user-tag-update' into 'develop'
Update user cache when user tags are updated See merge request pleroma/pleroma!840
This commit is contained in:
commit
1dd718e83c
|
@ -1201,7 +1201,7 @@ defp update_tags(%User{} = user, new_tags) do
|
|||
{:ok, updated_user} =
|
||||
user
|
||||
|> change(%{tags: new_tags})
|
||||
|> Repo.update()
|
||||
|> update_and_set_cache()
|
||||
|
||||
updated_user
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue