Update qbo_controller.rb

This commit is contained in:
2016-08-01 21:55:30 -04:00
committed by GitHub
parent df47efe816
commit dadbda62c6

View File

@@ -104,15 +104,15 @@ class QboController < ApplicationController
obj.sync_by_id(id)
end
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
# 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
end
#