mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fixed: use correct method for generating signature
This commit is contained in:
parent
1fad0f88a4
commit
b23019cb3a
@ -60,7 +60,7 @@ final class StoredObjectManager implements StoredObjectManagerInterface
|
|||||||
$this
|
$this
|
||||||
->tempUrlGenerator
|
->tempUrlGenerator
|
||||||
->generate(
|
->generate(
|
||||||
Request::METHOD_PUT,
|
Request::METHOD_HEAD,
|
||||||
$document->getFilename()
|
$document->getFilename()
|
||||||
)
|
)
|
||||||
->url
|
->url
|
||||||
@ -143,6 +143,7 @@ final class StoredObjectManager implements StoredObjectManagerInterface
|
|||||||
if ($response->getStatusCode() !== Response::HTTP_CREATED) {
|
if ($response->getStatusCode() !== Response::HTTP_CREATED) {
|
||||||
throw StoredObjectManagerException::invalidStatusCode($response->getStatusCode());
|
throw StoredObjectManagerException::invalidStatusCode($response->getStatusCode());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private function extractLastModifiedFromResponse(ResponseInterface $response): DateTimeImmutable
|
private function extractLastModifiedFromResponse(ResponseInterface $response): DateTimeImmutable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user