TT#84150 fix /api/rewriterules /api/rewriterulesets transactions

* own_transaction_control is enabled for PUT method let the
      changes be visible for dialplan.reload

Change-Id: Ie3f6d02e38fe769547b19053877db8b2c6d5aed7
changes/89/40989/2
Kirill Solomko 5 years ago
parent 45b4e30002
commit 536ecce855

@ -9,7 +9,7 @@ use HTTP::Status qw(:constants);
use NGCP::Panel::Utils::Rewrite;
__PACKAGE__->set_config({
own_transaction_control => { POST => 1 },
own_transaction_control => { PUT => 1 },
});
sub allowed_methods{

@ -7,7 +7,7 @@ use NGCP::Panel::Utils::Generic qw(:all);
use HTTP::Status qw(:constants);
__PACKAGE__->set_config({
own_transaction_control => { POST => 1 },
own_transaction_control => { PUT => 1 },
});
sub allowed_methods{

Loading…
Cancel
Save