This commit is contained in:
parent
1f8f75d749
commit
f0c7a1c50c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue