mirror of
https://github.com/SociallyDev/Spaces-API.git
synced 2025-07-06 21:11:30 -07:00
Add signature_version to SetSpace
I was using this package and I discovered that I couldn't create a new space on DigitalOcean. I kept getting the "XAmzContentSHA256Mismatch" error. Until i added this line. This fixes the issue.
This commit is contained in:
parent
22880123ef
commit
8e68a5c676
1 changed files with 2 additions and 1 deletions
|
@ -112,7 +112,8 @@ class SpacesConnect {
|
||||||
'key' => $this->access_key,
|
'key' => $this->access_key,
|
||||||
'secret' => $this->secret_key,
|
'secret' => $this->secret_key,
|
||||||
),
|
),
|
||||||
'bucket_endpoint' => true
|
'bucket_endpoint' => true,
|
||||||
|
'signature_version' => 'v4-unsigned-body'
|
||||||
));
|
));
|
||||||
return $this->ObjReturn(true);
|
return $this->ObjReturn(true);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue