Skip to content

Commit

Permalink
Fix content upload
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyennv committed Sep 30, 2016
1 parent 57c7716 commit 7bd2fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Zimbra/Upload/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function upload(Request $request)
}
}
elseif (!empty($body)) {
$httpRequest->setBody(Stream::factory($body));
$postBody->addFile(new PostFile($request->getRequestId(), $body));
}
$httpRequest->setQuery(['fmt' => 'raw,extended']);
try
Expand Down

0 comments on commit 7bd2fd7

Please sign in to comment.