Update user cache when user tags are updated
This commit is contained in:
parent
a39a094cda
commit
fc35481445
@ -1200,7 +1200,7 @@ defmodule Pleroma.User do
|
|||||||
{:ok, updated_user} =
|
{:ok, updated_user} =
|
||||||
user
|
user
|
||||||
|> change(%{tags: new_tags})
|
|> change(%{tags: new_tags})
|
||||||
|> Repo.update()
|
|> update_and_set_cache()
|
||||||
|
|
||||||
updated_user
|
updated_user
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user