From 80cc94f814dbaab8165a0a775472e1c69615e0a9 Mon Sep 17 00:00:00 2001 From: Peter Mangiafico Date: Thu, 10 Mar 2022 16:31:33 -0800 Subject: [PATCH] test --- lib/orcid/work_record.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/orcid/work_record.rb b/lib/orcid/work_record.rb index 61911b3ea..27715ebf9 100644 --- a/lib/orcid/work_record.rb +++ b/lib/orcid/work_record.rb @@ -16,7 +16,7 @@ def put_code # the name of the source that provided the work to ORCID (e.g. "Crossref") def work_source - @work_source ||= work_response.dig('source','source-name','value') + @work_source ||= work_response.dig('source', 'source-name', 'value') end def work_type