Fix property name.

This commit is contained in:
Pol Dellaiera 2021-08-19 16:58:41 +02:00
parent 53cad32910
commit 10c9526b49

View File

@ -209,7 +209,7 @@ final class ChillWopi implements WopiInterface
// TODO: Add strict typing in champs-libres/async-uploader-bundle
/** @var StdClass $object */
$object = $this->tempUrlGeneratorInterface->generate('PUT', $storedObject->getFilename());
$object = $this->tempUrlGenerator->generate('PUT', $storedObject->getFilename());
$response = $this->httpClient->sendRequest($this->psr17->createRequest('PUT', $object->url)->withBody($request->getBody()));