Skip to content
Snippets Groups Projects
Commit b1b30304 authored by Stefan Spettel's avatar Stefan Spettel
Browse files

fix(pcf): Adapt api_defs.cpp to new configuration

parent 58593aa8
No related branches found
No related tags found
1 merge request!26Refactoring of configuration file
Pipeline #37587 failed
......@@ -36,7 +36,7 @@ extern std::unique_ptr<oai::pcf::config::pcf_config> pcf_cfg;
namespace oai::pcf::api {
std::string sm_policies::get_route() {
return API_BASE + pcf_cfg->sbi.get_api_version() + sm_policies::CREATE_ROUTE;
return API_BASE + pcf_cfg->pcf().get_sbi().get_api_version() + sm_policies::CREATE_ROUTE;
}
} // namespace oai::pcf::api
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment