From 47849e3d36ffafe2485cbde5529e8b72ce9ef3cf Mon Sep 17 00:00:00 2001 From: Sergei Tsoganov Date: Tue, 30 May 2023 16:29:11 +0300 Subject: [PATCH] Added missing param --- app/controllers/repp/v1/white_ips_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/repp/v1/white_ips_controller.rb b/app/controllers/repp/v1/white_ips_controller.rb index 3411ed589..2d9a67805 100644 --- a/app/controllers/repp/v1/white_ips_controller.rb +++ b/app/controllers/repp/v1/white_ips_controller.rb @@ -58,7 +58,7 @@ module Repp private def white_ip_params - params.require(:white_ip).permit(:ipv4, :ipv6, interfaces: []) + params.require(:white_ip).permit(:id, :ipv4, :ipv6, interfaces: []) end end end