Skip to content

Commit

Permalink
Make sure the title is updated in the JSON and the Work table.
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorcorrea committed May 17, 2022
1 parent 62c7bb1 commit b8d3692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/works_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def new_creator(given_name, family_name, orcid)
end

def datacite_resource_from_form
resource = Datacite::Resource.new(title: params["title"])
resource = Datacite::Resource.new()

# Process the titles
resource.titles << Datacite::Title.new(title: params["title_main"])
Expand Down

0 comments on commit b8d3692

Please sign in to comment.