Commit fc354814 authored by Eugenij's avatar Eugenij

Update user cache when user tags are updated

parent a39a094c
......@@ -1200,7 +1200,7 @@ defmodule Pleroma.User do
{:ok, updated_user} =
user
|> change(%{tags: new_tags})
|> Repo.update()
|> update_and_set_cache()
updated_user
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment