From 7f0bb3cae75b52fe307f735d651116867aaa4b92 Mon Sep 17 00:00:00 2001 From: Ricky Barrette Date: Mon, 19 Aug 2024 23:26:43 -0400 Subject: [PATCH] Removed extra end --- app/controllers/qbo_controller.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/controllers/qbo_controller.rb b/app/controllers/qbo_controller.rb index c29de84..b8ae3d6 100644 --- a/app/controllers/qbo_controller.rb +++ b/app/controllers/qbo_controller.rb @@ -108,7 +108,7 @@ class QboController < ApplicationController #Check to see if we are deleting a record if entity['operation'].eql? "Delete" - obj.destroy(id) + obj.destroy(id) #if not then update! else begin @@ -121,10 +121,8 @@ class QboController < ApplicationController end end - # Record that last time we updated - Qbo.update_time_stamp - - end + # Record that last time we updated + Qbo.update_time_stamp ActiveRecord::Base.connection.close end