detect correctly if a share was send successful
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
8889e14c7c
commit
c572e84ad9
|
@ -146,7 +146,7 @@ class CloudFederationProviderManager implements ICloudFederationProviderManager
|
|||
'connect_timeout' => 10,
|
||||
]);
|
||||
|
||||
if ($response->getStatusCode() === Http::STATUS_OK) {
|
||||
if ($response->getStatusCode() === Http::STATUS_CREATED) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue