diff --git a/app/graphql/types/person_type.rb b/app/graphql/types/person_type.rb index 77e999741..7724e09d9 100644 --- a/app/graphql/types/person_type.rb +++ b/app/graphql/types/person_type.rb @@ -200,7 +200,8 @@ def citation_count end def response(**args) - user_id = args[:user_id].present? ? args[:user_id] << object[:id] : object[:id] + # Combine the person user id with args user_id(s) + user_id = args[:user_id].nil? ? object[:id] : object[:id] + "," + args[:user_id] Doi.gql_query( args[:query],