1
0
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:
Isaac Joseph
2024-04-15 19:08:42 -07:00
committed by GitHub
parent f5132e0f39
commit c3ce2fa789

View File

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