diff --git a/lib/NGCP/Panel/Controller/API/PeeringRules.pm b/lib/NGCP/Panel/Controller/API/PeeringRules.pm index 7d06c45cb2..2a92232963 100644 --- a/lib/NGCP/Panel/Controller/API/PeeringRules.pm +++ b/lib/NGCP/Panel/Controller/API/PeeringRules.pm @@ -11,6 +11,10 @@ use HTTP::Status qw(:constants); use NGCP::Panel::Utils::Peering; +__PACKAGE__->set_config({ + own_transaction_control => { POST => 1 }, +}); + sub allowed_methods{ return [qw/GET POST OPTIONS HEAD/]; }