#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)
|
||||
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']
|
||||
Net::HTTP.start(uri.host, uri.port) do |http|
|
||||
files.each do |sha1|
|
||||
|
|
Loading…
Reference in New Issue