Skip to content

Commit

Permalink
more detailed logging for claims. #623
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Oct 1, 2020
1 parent 5b19e2a commit e973fd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/graphql/resolvers/claims.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def resolve
return []
end

Rails.logger.info "Claims for user #{context[:current_user].uid} and doi #{object.doi} retrieved."
Rails.logger.info "Claims for user #{context[:current_user].uid} and doi #{object.doi} retrieved: " + response.body["data"].inspect

Array.wrap(response.body.dig("data")).map do |claim|
{ id: claim["id"],
Expand Down

0 comments on commit e973fd5

Please sign in to comment.