Skip to content

Commit

Permalink
(#93) A more surgical way to get the expected PATCH capability
Browse files Browse the repository at this point in the history
  • Loading branch information
zmeggyesi committed Apr 21, 2020
1 parent 7c021cc commit a2e4d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/storage_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ class _BucketImpl implements Bucket {
throw ArgumentError('Content-Type is required for update');
}
md._object.acl ??= _defaultObjectAcl._toObjectAccessControlList();
return _api.objects.update(object, bucketName, objectName);
return _api.objects.patch(object, bucketName, objectName);
}

Future<storage_api.Objects> _listObjects(String bucketName, String prefix,
Expand Down

0 comments on commit a2e4d66

Please sign in to comment.