Skip to content

Commit

Permalink
Use save_file for external repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Gehrke committed Aug 8, 2016
1 parent 0c6ce6e commit 177f7df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/external_repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def repository

def add_to_repository(iri, message, user, location: iri)
tmp_path = download_iri(location)
repository.save_file_only(tmp_path, determine_path(iri, :fullpath),
message, user)
repository.save_file(tmp_path, determine_path(iri, :fullpath),
message, user)
end

def determine_locid(external_iri)
Expand Down

0 comments on commit 177f7df

Please sign in to comment.