mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 21:16:12 +02:00
Add admin mailers and tests to white_ips
This commit is contained in:
parent
149cbb6138
commit
f68d8e91c2
8 changed files with 45 additions and 6 deletions
|
@ -58,7 +58,7 @@ module Repp
|
|||
return
|
||||
end
|
||||
|
||||
uncommit_and_notify_admins(ip: ip, action: 'deleted') if ip.interfaces.include?(WhiteIp::API)
|
||||
uncommit_and_notify_admins(ip: ip, action: 'deleted') if api_interface?(ip)
|
||||
render_success
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue