guardar todo
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2022-09-06 15:20:06 -03:00
parent 1f8f75d749
commit f0c7a1c50c

View file

@ -28,7 +28,7 @@ class ReadingsController < ActionController::API
end
end
if reading.save
if raspberry.save
render plain: reading.id, status: :ok
else
head :bad_request