Fix property name.

This commit is contained in:
Pol Dellaiera 2021-08-19 16:58:41 +02:00 committed by Marc Ducobu
parent 73486d6860
commit 3347248b97

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()));