From dadbda62c6bad186c6a844f21611f5c16762c273 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 1 Aug 2016 21:55:30 -0400 Subject: [PATCH] Update qbo_controller.rb --- app/controllers/qbo_controller.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/controllers/qbo_controller.rb b/app/controllers/qbo_controller.rb index c810605..56342fc 100644 --- a/app/controllers/qbo_controller.rb +++ b/app/controllers/qbo_controller.rb @@ -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 #