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

View File

@ -38,10 +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 {
if (bucket.empty()) { if (cfg.bucket.empty()) {
return "default"; return "default";
} }
return bucket; return cfg.bucket;
} }
[[nodiscard]] auto get_last_modified(const nlohmann::json &obj) [[nodiscard]] auto get_last_modified(const nlohmann::json &obj)