Skip to content

Commit

Permalink
http
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan committed May 26, 2018
1 parent ce2e880 commit d60b79e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MyHttp.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function put($key, $data)
file_put_contents($tempFile, $data);

$client = new Client();
$res = $client->file($this->api, 'file', $tempFile, $this->appendSign(['filename' => $key]));
$res = $client->file($this->api, 'file', $tempFile, $this->appendSign(array('filename' => $key)));

unlink($tempFile);

Expand Down

0 comments on commit d60b79e

Please sign in to comment.