mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
Update status code.
This commit is contained in:
parent
3347248b97
commit
663d484bee
@ -213,7 +213,7 @@ final class ChillWopi implements WopiInterface
|
|||||||
|
|
||||||
$response = $this->httpClient->sendRequest($this->psr17->createRequest('PUT', $object->url)->withBody($request->getBody()));
|
$response = $this->httpClient->sendRequest($this->psr17->createRequest('PUT', $object->url)->withBody($request->getBody()));
|
||||||
|
|
||||||
if (200 !== $response->getStatusCode())
|
if (201 !== $response->getStatusCode())
|
||||||
{
|
{
|
||||||
return $this
|
return $this
|
||||||
->psr17
|
->psr17
|
||||||
|
Loading…
x
Reference in New Issue
Block a user