summaryrefslogtreecommitdiff
path: root/lib/api/members.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/members.rb')
-rw-r--r--lib/api/members.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/members.rb b/lib/api/members.rb
index 803de51651a..9bea74e2ce9 100644
--- a/lib/api/members.rb
+++ b/lib/api/members.rb
@@ -62,7 +62,7 @@ module API
get ":id/members/:user_id" do
source = find_source(source_type, params[:id])
- members = source.members
+ members = source_members(source)
member = members.find_by!(user_id: params[:user_id])
present_members member