diff --git a/app/controllers/api/v1/devices_controller.rb b/app/controllers/api/v1/devices_controller.rb index 31f2f54..3b05f0c 100644 --- a/app/controllers/api/v1/devices_controller.rb +++ b/app/controllers/api/v1/devices_controller.rb @@ -6,6 +6,6 @@ def create private def device_params - params.permit(:display_name, :platform, :public_key, :registration_id) + params.permit(:display_name, :platform, :public_key, :registration_id, :pushkey) end end diff --git a/app/controllers/api/v1/integrations_controller.rb b/app/controllers/api/v1/integrations_controller.rb index 4384b2f..1c562a9 100644 --- a/app/controllers/api/v1/integrations_controller.rb +++ b/app/controllers/api/v1/integrations_controller.rb @@ -6,6 +6,6 @@ def create private def integration_params - params.permit(:display_name, :platform, :public_key, :pushkey) + params.permit(:display_name, :platform, :public_key) end end