diff --git a/app/controllers/readings_controller.rb b/app/controllers/readings_controller.rb index 315998a..b0c0f42 100644 --- a/app/controllers/readings_controller.rb +++ b/app/controllers/readings_controller.rb @@ -40,8 +40,7 @@ class ReadingsController < ActionController::API # Procesa la transacción def reading_params - @reading_params ||= params.permit(:controller_id, - :timestamp, + @reading_params ||= params.permit(:timestamp, :error_code, :battery_status, :sample,