Update qbo_controller.rb

This commit is contained in:
ricky authored and GitHub committed 2016-08-01 21:55:30 -04:00
1 parent df47efe816
commit dadbda62c6
1 file changed
+3 -3
+3 -3
View File
@@ -104,15 +104,15 @@ class QboController < ApplicationController
obj.sync_by_id(id)
end
end
else
render nothing: true, status: 400
end
# Record that last time we updated
Qbo.update_time_stamp
# The webhook doesn't require a response but let's make sure we don't send anything
render :nothing => true
else
render nothing: true, status: 400
end
end
#