Skip to content

Commit

Permalink
add logging for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
wendelfabianchinsamy committed Jan 15, 2025
1 parent a0169e3 commit 9d12874
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/orcid_affiliation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def self.push_item(item)

# there can be one or more affiliation_identifier per DOI
Array.wrap(push_items).each do |iiitem|
subj1 = "#{iiitem["obj"]["id"]}#{"abc"}"
data = {
"data" => {
"type" => "events",
Expand All @@ -124,7 +125,7 @@ def self.push_item(item)
"timestamp" => iiitem["timestamp"],
"license" => iiitem["license"],
# "subj" => iiitem["subj"],
"subj" => "#{iiitem["obj"]}abc",
"subj" => subj1,
"obj" => iiitem["obj"],
},
},
Expand Down

0 comments on commit 9d12874

Please sign in to comment.