diff --git a/README.md b/README.md index dbf65d21b9031dbca146509a5e75a7eef00310cb..492b757921f3d291dd77d152938697950a14c546 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ void main() async { secretKey: 'zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG', ); - await minio.fPutObject(bucket, object, 'path/to/file'); + await minio.fPutObject('mybucket', 'myobject', 'path/to/file'); } ``` diff --git a/pubspec.yaml b/pubspec.yaml index bdb6bd468caed17c6e26ab5fe089027df86c50ec..b1f1b55b66c2e04822f7c71d4b03fd9278c8784d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -12,7 +12,7 @@ dependencies: http: ^0.12.0+4 crypto: ^2.1.4 convert: ^2.1.1 - xml: ^3.7.0 + xml: ^4.0.0 buffer: ^1.0.6 intl: ^0.16.1 mime: ^0.9.6+3