Skip to content

Commit

Permalink
fix: 修复请求参数错误
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Dec 18, 2023
1 parent c5a1a14 commit e817e5c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/CosAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use Overtrue\CosClient\BucketClient;
use Overtrue\CosClient\Exceptions\ClientException;
use Overtrue\CosClient\ObjectClient;
use TheNorthMemory\Xml\Transformer;

class CosAdapter implements FilesystemAdapter
{
Expand Down Expand Up @@ -155,10 +156,8 @@ function ($item) {

$response = $this->getObjectClient()->deleteObjects(
[
'Delete' => [
'Quiet' => 'false',
'Object' => $keys,
],
'Quiet' => 'false',
'Object' => Transformer::wrap($keys, true, 'Object'),
]
);

Expand Down

0 comments on commit e817e5c

Please sign in to comment.