Skip to content

Commit

Permalink
Linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
codycooperross committed Jul 1, 2022
1 parent 1c289f1 commit 78be741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/graphql/types/base_connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def facet_by_authors(arr)
if orcid_id.nil?
next
end

# The aggregation query should only return 1 hit, so hence the index
# into first element
creators = hsh.dig("authors", "hits", "hits")[0].dig("_source", "creators")
Expand Down

0 comments on commit 78be741

Please sign in to comment.