Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonne Haß <jonne.hass@offerista.com>2019-04-27 17:03:02 +0300
committerJonne Haß <jonne.hass@offerista.com>2019-04-27 17:03:02 +0300
commit8afa17f940fe5da02a73cfdef4def337c339e7b7 (patch)
treea0291fb3664509c3837c5e0378f9d239d25cc519 /app/presenters/person_presenter.rb
parent9b8f10358a0f0505e1ed7733cd25c4bdf60c2e54 (diff)
Don't return aspect order in single user info API route
Diffstat (limited to 'app/presenters/person_presenter.rb')
-rw-r--r--app/presenters/person_presenter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/person_presenter.rb b/app/presenters/person_presenter.rb
index 70f260362..ee0d495f5 100644
--- a/app/presenters/person_presenter.rb
+++ b/app/presenters/person_presenter.rb
@@ -103,7 +103,7 @@ class PersonPresenter < BasePresenter
return [] unless current_user_person_contact
aspects_for_person = current_user.aspects_with_person(@presentable)
- aspects_for_person.map {|a| AspectPresenter.new(a).as_api_json(false) }
+ aspects_for_person.map {|a| AspectPresenter.new(a).as_api_json(false, with_order: false) }
end
def person_is_following_current_user