Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
Signed-off-by: Kai-Uwe Hermann <[email protected]>
  • Loading branch information
hikinggrass committed Mar 11, 2024
1 parent f2cd385 commit e9ba8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/command_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ nlohmann::json CommandApi::handle(const std::string& cmd, const json& params) {
throw CommandApiParamsError("The save_config needs a 'name' parameter for the config file of type string");
}

const name = params.at("name").get<std::string>();
const auto name = params.at("name").get<std::string>();

json config_json = params.value("config", json::object());
auto ryml_deserialized = transpile_config(config_json);
Expand Down

0 comments on commit e9ba8a6

Please sign in to comment.