Update status code.

This commit is contained in:
Pol Dellaiera 2021-08-19 17:03:22 +02:00 committed by Marc Ducobu
parent 3347248b97
commit 663d484bee

View File

@ -213,7 +213,7 @@ final class ChillWopi implements WopiInterface
$response = $this->httpClient->sendRequest($this->psr17->createRequest('PUT', $object->url)->withBody($request->getBody()));
if (200 !== $response->getStatusCode())
if (201 !== $response->getStatusCode())
{
return $this
->psr17