Skip to content
Snippets Groups Projects
Commit 1dd718e8 authored by lain's avatar lain
Browse files

Merge branch 'set-cache-on-user-tag-update' into 'develop'

Update user cache when user tags are updated

See merge request pleroma/pleroma!840
parents f25a3f4f fc354814
No related branches found
No related tags found
No related merge requests found
......@@ -1201,7 +1201,7 @@ defmodule Pleroma.User do
{:ok, updated_user} =
user
|> change(%{tags: new_tags})
|> Repo.update()
|> update_and_set_cache()
updated_user
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment