Skip to content

Commit

Permalink
don't require url for crossref dois. datacite/levriero#56
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jun 17, 2019
1 parent 4060e3e commit 42cf036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/doi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def registerable?
# end

def is_registered_or_findable?
%w(registered findable).include?(aasm_state)
%w(registered findable).include?(aasm_state) || agency != "DataCite"
end

def validatable?
Expand Down

0 comments on commit 42cf036

Please sign in to comment.