projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use cache for user info data.
[akkoma]
/
lib
/
pleroma
/
web
/
twitter_api
/
representers
/
user_representer.ex
diff --git
a/lib/pleroma/web/twitter_api/representers/user_representer.ex
b/lib/pleroma/web/twitter_api/representers/user_representer.ex
index ab7d6d353a7476357703f18631f53d3418ef043a..29c7451f461f5d47687ed05d17b1dfd5cd4ecab4 100644
(file)
--- a/
lib/pleroma/web/twitter_api/representers/user_representer.ex
+++ b/
lib/pleroma/web/twitter_api/representers/user_representer.ex
@@
-11,7
+11,7
@@
defmodule Pleroma.Web.TwitterAPI.Representers.UserRepresenter do
false
end
- user_info = User.user_info(user)
+ user_info = User.
get_cached_
user_info(user)
map = %{
"id" => user.id,