diff --git a/apps/cisco/cms/restapi/plugin.pm b/apps/cisco/cms/restapi/plugin.pm index 83f1bc2f0..39da8440e 100644 --- a/apps/cisco/cms/restapi/plugin.pm +++ b/apps/cisco/cms/restapi/plugin.pm @@ -37,7 +37,7 @@ sub new { 'licenses' => 'apps::cisco::cms::restapi::mode::licenses', 'system-status' => 'apps::cisco::cms::restapi::mode::systemstatus', ); - $self->{custom_modes}{api} = 'apps::cisco::cms::restapi::custom::xmlapi'; + $self->{custom_modes}{xmlapi} = 'apps::cisco::cms::restapi::custom::xmlapi'; return $self; } diff --git a/apps/cisco/ise/restapi/plugin.pm b/apps/cisco/ise/restapi/plugin.pm index 247cae9eb..4a2411227 100644 --- a/apps/cisco/ise/restapi/plugin.pm +++ b/apps/cisco/ise/restapi/plugin.pm @@ -33,7 +33,7 @@ sub new { %{$self->{modes}} = ( 'session' => 'apps::cisco::ise::restapi::mode::session', ); - $self->{custom_modes}{api} = 'apps::cisco::ise::restapi::custom::xmlapi'; + $self->{custom_modes}{xmlapi} = 'apps::cisco::ise::restapi::custom::xmlapi'; return $self; }