used token from last shareng public link for test using shareng
This commit is contained in:
@@ -5505,13 +5505,9 @@ trait WebDav {
|
||||
* @throws Exception
|
||||
*/
|
||||
public function thePublicListsTheResourcesInTheLastCreatedPublicLinkWithDepthUsingTheWebdavApi(string $depth):void {
|
||||
if ($this->isUsingSharingNG()) {
|
||||
$user = $this->shareNgGetLastCreatedLinkShareToken();
|
||||
} else {
|
||||
$user = $this->getLastCreatedPublicShareToken();
|
||||
}
|
||||
$token = ($this->isUsingSharingNG()) ? $this->shareNgGetLastCreatedLinkShareToken() : $this->getLastCreatedPublicShareToken();
|
||||
$response = $this->listFolder(
|
||||
$user,
|
||||
$token,
|
||||
'/',
|
||||
$depth,
|
||||
null,
|
||||
|
||||
Reference in New Issue
Block a user