Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
1dd718e8
Commit
1dd718e8
authored
Feb 19, 2019
by
lain
Browse files
Merge branch 'set-cache-on-user-tag-update' into 'develop'
Update user cache when user tags are updated See merge request
!840
parents
f25a3f4f
fc354814
Pipeline
#7880
passed with stages
in 3 minutes and 23 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
lib/pleroma/user.ex
View file @
1dd718e8
...
...
@@ -1201,7 +1201,7 @@ defp update_tags(%User{} = user, new_tags) do
{
:ok
,
updated_user
}
=
user
|>
change
(%{
tags:
new_tags
})
|>
Repo
.
update
()
|>
updat
e_and_set_cach
e
()
updated_user
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment