detect correctly if a share was send successful

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Bjoern Schiessle 2018-05-29 18:04:10 +02:00
parent 8889e14c7c
commit c572e84ad9
No known key found for this signature in database
GPG Key ID: 2378A753E2BF04F6
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}