Skip to content
Snippets Groups Projects
Commit e808642c authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent ad7bfc62
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ class Research::Hal::Author < ApplicationRecord
end
def import_research_hal_publications!
publications.clear
publications.hal.clear
# Do not overuse the API if no researcher is concerned
return if researchers.none?
Importers::Hal.import_publications_for_author(self).each do |publication|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment