Skip to content

Commit

Permalink
Fixes #40
Browse files Browse the repository at this point in the history
  • Loading branch information
bmario committed May 13, 2024
1 parent 3f3fd73 commit ce58856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/history_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ void HistoryClient::config(const metricq::json& config)
history_exchange_ = config["historyExchange"].get<std::string>();
history_queue_ = config["historyQueue"].get<std::string>();

on_history_config(config["config"]);
on_history_config(config.count("config") ? config["config"] : json::object());

setup_history_queue();

Expand Down

0 comments on commit ce58856

Please sign in to comment.