Fix embeded relationships in Mastodon API
authorrinpatch <rinpatch@sdf.org>
Thu, 2 May 2019 19:19:14 +0000 (22:19 +0300)
committerrinpatch <rinpatch@sdf.org>
Thu, 2 May 2019 21:49:17 +0000 (00:49 +0300)
commit38b79461dfe6d14eb95799013b2fdd502e73245c
treeef6663bc0dfbed5a30ad258d28fc46f1bc7e7bd9
parent497d34b825bd3600b2067a8c47e29f41234fa315
Fix embeded relationships in Mastodon API

Currently some endpoints render accounts without for user resulting in
embedded relationship being empty. It causes bugs in followers/following
tab in pleroma-fe but I fixed it for other endpoints as well just in
case
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex