diff options
Diffstat (limited to 'src/components/policy/policy_regular/src/sql_pt_representation.cc')
-rw-r--r-- | src/components/policy/policy_regular/src/sql_pt_representation.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/policy/policy_regular/src/sql_pt_representation.cc b/src/components/policy/policy_regular/src/sql_pt_representation.cc index a339e94f19..c6f78d6d70 100644 --- a/src/components/policy/policy_regular/src/sql_pt_representation.cc +++ b/src/components/policy/policy_regular/src/sql_pt_representation.cc @@ -734,7 +734,7 @@ bool SQLPTRepresentation::GatherApplicationPoliciesSection( *params.auth_token = query.GetString(8); *params.cloud_transport_type = query.GetString(9); *params.icon_url = query.GetString(10); - *params.allow_unknown_rpc_pass_through = query.GetBoolean(11); + *params.allow_unknown_rpc_passthrough = query.GetBoolean(11); const auto& gather_app_id = ((*policies).apps[app_id].is_string()) ? (*policies).apps[app_id].get_string() @@ -1036,8 +1036,8 @@ bool SQLPTRepresentation::SaveSpecificAppPolicy( app.second.icon_url.is_initialized() ? app_query.Bind(11, *app.second.icon_url) : app_query.Bind(11); - app.second.allow_unknown_rpc_pass_through.is_initialized() - ? app_query.Bind(12, *app.second.allow_unknown_rpc_pass_through) + app.second.allow_unknown_rpc_passthrough.is_initialized() + ? app_query.Bind(12, *app.second.allow_unknown_rpc_passthrough) : app_query.Bind(12); if (!app_query.Exec() || !app_query.Reset()) { |