projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cfe9a5
)
PleromaAPI: Fix emoji_reactions_by
author
lain
<lain@soykaf.club>
Wed, 2 Oct 2019 16:13:10 +0000
(18:13 +0200)
committer
lain
<lain@soykaf.club>
Wed, 2 Oct 2019 16:13:10 +0000
(18:13 +0200)
lib/pleroma/web/pleroma_api/controllers/pleroma_api_controller.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/pleroma_api/controllers/pleroma_api_controller.ex
b/lib/pleroma/web/pleroma_api/controllers/pleroma_api_controller.ex
index 39d371ff706f4313b11f2e5abccefb51fc52e820..884b3d877703af6464d7a7491abf339c61e39d36 100644
(file)
--- a/
lib/pleroma/web/pleroma_api/controllers/pleroma_api_controller.ex
+++ b/
lib/pleroma/web/pleroma_api/controllers/pleroma_api_controller.ex
@@
-26,7
+26,7
@@
defmodule Pleroma.Web.PleromaAPI.PleromaAPIController do
emoji_reactions
|> Enum.map(fn {emoji, users} ->
users = Enum.map(users, &User.get_cached_by_ap_id/1)
- {emoji, AccountView.render("
accounts
.json", %{users: users, for: user, as: :user})}
+ {emoji, AccountView.render("
index
.json", %{users: users, for: user, as: :user})}
end)
|> Enum.into(%{})