Skip to content

Commit e0732f7

Browse files
authored
Remove duplicate bucketName in usage request url
1 parent ca93e85 commit e0732f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upyun.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public function getFileInfo($path)
178178
*/
179179
public function getFolderUsage($bucket = '/')
180180
{
181-
return $this->_do_request('GET', "/{$this->_bucketname}/?usage");
181+
return $this->_do_request('GET', "{$bucket}?usage");
182182
}
183183

184184
/**

0 commit comments

Comments
 (0)