mirror of
https://github.com/minio/minio-cpp.git
synced 2025-07-30 05:23:05 +03:00
fix PostPolicy bool operator condition (#137)
This commit is contained in:
@ -570,7 +570,7 @@ struct PostPolicy {
|
||||
|
||||
~PostPolicy() = default;
|
||||
|
||||
explicit operator bool() const { return !bucket.empty() && !expiration_; }
|
||||
explicit operator bool() const { return !bucket.empty() && expiration_; }
|
||||
|
||||
error::Error AddEqualsCondition(std::string element, std::string value);
|
||||
error::Error RemoveEqualsCondition(std::string element);
|
||||
|
Reference in New Issue
Block a user