Permalink
Browse files

Improved responses/support.

  • Loading branch information...
cubiclesoft committed Apr 23, 2018
1 parent 81ffa34 commit cf5a9308910125f905ec547bd119abee41c30dad
Showing with 3 additions and 3 deletions.
  1. +3 −3 sdks/php/sdk_cloud_storage_server_files.php
@@ -116,7 +116,7 @@ public function GetFolderList($folderid = "0")
else $folders[$item["name"]] = $item;
}
return array("success" => true, "folders" => $folders, "files" => $files);
return array("success" => true, "id" => $folderid, "folders" => $folders, "files" => $files);
}
public function GetObjectIDByName($folderid, $name)
@@ -139,9 +139,9 @@ public function CreateFolder($folderid, $name)
return $result;
}
public function GetTrashList()
public function GetTrashList($folderid = false)
{
return $this->RunAPI("GET", "trash/list");
return $this->RunAPI("GET", "trash/list" . ($folderid !== false ? "/" . $folderid : ""));
}
public function GetObjectByID($id)

0 comments on commit cf5a930

Please sign in to comment.