Skip to content

Commit 4f6b594

Browse files
committed
refactor:change postV2 return parameter
1 parent b336d36 commit 4f6b594

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Qiniu/Storage/BucketManager.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,8 +1115,7 @@ private function postV2($url, $body)
11151115
return array(null, new Error($url, $ret));
11161116
}
11171117
$r = ($ret->body === null) ? array() : $ret->json();
1118-
$id = $r['id'];
1119-
return array($id, null);
1118+
return array($r, null);
11201119
}
11211120

11221121
public static function buildBatchCopy($source_bucket, $key_pairs, $target_bucket, $force)

0 commit comments

Comments
 (0)