From 504e81737405cd82fd03a0adf27d9e4ca0479a1b Mon Sep 17 00:00:00 2001 From: olegphenomenon Date: Thu, 4 May 2023 16:14:44 +0300 Subject: [PATCH] reverse accidently changes --- app/controllers/eis_billing/invoices_controller.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/controllers/eis_billing/invoices_controller.rb b/app/controllers/eis_billing/invoices_controller.rb index fe8ed8647..52e61c29b 100644 --- a/app/controllers/eis_billing/invoices_controller.rb +++ b/app/controllers/eis_billing/invoices_controller.rb @@ -6,11 +6,6 @@ module EisBilling def update state = InvoiceStateMachine.new(invoice: @invoice, status: params[:status]) - puts '-----' - puts @invoice - params[:status] - puts '----' - if @invoice.update(modified_params) && state.call render json: { message: 'Invoice data was successfully updated',