This commit is contained in:
Scott E. Graves 2024-12-19 11:09:48 -06:00
parent f750a52f75
commit 7fb2889c74

View File

@ -38,11 +38,10 @@
namespace { namespace {
[[nodiscard]] auto get_bucket(const repertory::sia_config &cfg) -> std::string { [[nodiscard]] auto get_bucket(const repertory::sia_config &cfg) -> std::string {
repertory::utils::string::trim(cfg.bucket); if (bucket.empty()) {
if (cfg.bucket.empty()) {
return "default"; return "default";
} }
return cfg.bucket; return bucket;
} }
[[nodiscard]] auto get_last_modified(const nlohmann::json &obj) [[nodiscard]] auto get_last_modified(const nlohmann::json &obj)