aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/twitter_api/representers/user_representer.ex
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-04-30 10:04:54 +0200
committerRoger Braun <roger@rogerbraun.net>2017-04-30 10:04:54 +0200
commitffc604a2c2d963b63e6cd13d0ee7cc9024f632a4 (patch)
tree107b7a3c74ae5fb767f7e0e4b07e2647380a087e /lib/pleroma/web/twitter_api/representers/user_representer.ex
parent8a0d2b33d8c9a1cef347c5daf5589a2245eb01b0 (diff)
downloadpleroma-ffc604a2c2d963b63e6cd13d0ee7cc9024f632a4.tar.gz
Use cache for user info data.
Later these should be persisted in the user.
Diffstat (limited to 'lib/pleroma/web/twitter_api/representers/user_representer.ex')
-rw-r--r--lib/pleroma/web/twitter_api/representers/user_representer.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/twitter_api/representers/user_representer.ex b/lib/pleroma/web/twitter_api/representers/user_representer.ex
index ab7d6d353..29c7451f4 100644
--- 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,