diff --git a/lib/src/minio.dart b/lib/src/minio.dart index d47e325..33b9091 100644 --- a/lib/src/minio.dart +++ b/lib/src/minio.dart @@ -564,7 +564,7 @@ class Minio { if (maxKeys != null) { maxKeys = maxKeys >= 1000 ? 1000 : maxKeys; - queries['maxKeys'] = maxKeys.toString(); + queries['max-keys'] = maxKeys.toString(); } final resp = await _client.request( @@ -674,7 +674,7 @@ class Minio { if (maxKeys != null) { maxKeys = maxKeys >= 1000 ? 1000 : maxKeys; - queries['maxKeys'] = maxKeys.toString(); + queries['max-keys'] = maxKeys.toString(); } final resp = await _client.request(