summaryrefslogtreecommitdiff
path: root/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc')
-rw-r--r--src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc
index f39707c7d9..3fb8e45739 100644
--- a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc
+++ b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc
@@ -206,9 +206,9 @@ void RCCommandRequest::ProcessAccessResponse(
bool is_allowed = false;
if (result) {
- if (message[app_mngr::strings::msg_params].keyExists(message_params::kAllowed)) {
+ if (message[json_keys::kResult].keyExists(message_params::kAllowed)) {
is_allowed =
- message[app_mngr::strings::msg_params][message_params::kAllowed].asBool();
+ message[json_keys::kResult][message_params::kAllowed].asBool();
}
if (is_allowed) {
resource_allocation_manager_.ForceAcquireResource(module_type,