#907: hot fix
This commit is contained in:
parent
a82167fe4c
commit
bc7c478f4d
|
@ -17,7 +17,7 @@ module Modules
|
||||||
|
|
||||||
def destroy_files_from_file_store(args = sha1_of_file_store_files)
|
def destroy_files_from_file_store(args = sha1_of_file_store_files)
|
||||||
files = *args
|
files = *args
|
||||||
token = User.system.find_by_uname('file_store').authentication_token
|
token = User.find_by_uname('file_store').authentication_token
|
||||||
uri = URI APP_CONFIG['file_store_url']
|
uri = URI APP_CONFIG['file_store_url']
|
||||||
Net::HTTP.start(uri.host, uri.port) do |http|
|
Net::HTTP.start(uri.host, uri.port) do |http|
|
||||||
files.each do |sha1|
|
files.each do |sha1|
|
||||||
|
|
Loading…
Reference in New Issue