diff --git a/lib/NGCP/Panel/Role/API/MailToFaxSettings.pm b/lib/NGCP/Panel/Role/API/MailToFaxSettings.pm index 8639fcbcb7..ec6a110bc4 100644 --- a/lib/NGCP/Panel/Role/API/MailToFaxSettings.pm +++ b/lib/NGCP/Panel/Role/API/MailToFaxSettings.pm @@ -160,7 +160,7 @@ sub update_item { $secret_renew_notify_rs->create($notify); } for my $acl (@{ $resource->{acl} }) { - $secret_renew_notify_rs->create($acl); + $acl_rs->create($acl); } } catch($e) { $c->log->error("Error Updating mailtofaxsettings: $e");