From cc1d0afd4e4a3a7c650f24bf974cc51fe21b8d92 Mon Sep 17 00:00:00 2001 From: "G. Gibson" Date: Sun, 24 Apr 2022 11:54:48 -0700 Subject: [PATCH] debugging download 3 --- Services/www/www/gxg-www.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/www/www/gxg-www.rb b/Services/www/www/gxg-www.rb index e834598..88a2de0 100644 --- a/Services/www/www/gxg-www.rb +++ b/Services/www/www/gxg-www.rb @@ -1226,7 +1226,7 @@ module GxGwww # download_path = handle[:resource].path() response = [200, {"content-type" => "application/json"}, ({:result => true, :file_name => cache_profile[:title], :data => handle[:resource].read.encode64}).to_json()] GxG::SERVICES[:core][:resources].close(handle[:token]) - GxG::SERVICES[:core][:resources].destroy(rtemp_dir, ::GxG::DB[:administrator]) + GxG::SERVICES[:core][:resources].destroy(temp_dir, ::GxG::DB[:administrator]) # response = [-255, {"content-type" => "application/hash"}, {:result => {:file => download_path, :vfs_dir => temp_dir}}] else raise "Failed to get cache profile."