diff --git a/onedrive.php b/onedrive.php index ee7f153..3a7d5cc 100644 --- a/onedrive.php +++ b/onedrive.php @@ -679,7 +679,7 @@ var itemname = $(this).data("itemname"); var userid = $(this).data("userid"); var rid = ""; - var json = '{ "save" : null }'; + var json = '{ "save" : { "asZip" : "false" } }'; $.get("veeam.php", {"action" : "exportonedriveitem", "itemid" : itemid, "userid" : userid, "rid" : rid, "json" : json, "type" : filetype}).done(function(data) { e.preventDefault(); diff --git a/sharepoint.php b/sharepoint.php index cbb4eeb..60ff428 100644 --- a/sharepoint.php +++ b/sharepoint.php @@ -764,7 +764,7 @@ var itemname = $(this).data("itemname"); var siteid = $(this).data("siteid"); var rid = ""; - var json = '{ "save" : null }'; + var json = '{ "save" : { "asZip" : "false" } }'; $.get("veeam.php", {"action" : "exportsharepointitem", "itemid" : itemid, "siteid" : siteid, "rid" : rid, "json" : json, "type" : filetype}).done(function(data) { e.preventDefault();