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 9d12874 commit 8f0d2eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/models/orcid_affiliation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ def self.push_item(item)
"type" => "events",
"attributes" => {
"messageAction" => iiitem["message_action"],
"subjId" => iiitem["subj_id"],
# "subjId" => iiitem["subj_id"],
"subjId" => subj1,
"objId" => iiitem["obj_id"],
"relationTypeId" => iiitem["relation_type_id"].to_s.dasherize,
"sourceId" => iiitem["source_id"].to_s.dasherize,
Expand All @@ -125,7 +126,7 @@ def self.push_item(item)
"timestamp" => iiitem["timestamp"],
"license" => iiitem["license"],
# "subj" => iiitem["subj"],
"subj" => subj1,
"subj" => iiitem["obj"],
"obj" => iiitem["obj"],
},
},
Expand Down

0 comments on commit 8f0d2eb

Please sign in to comment.