mirror of
https://github.com/internetee/registry.git
synced 2025-07-31 06:56:23 +02:00
reverse accidently changes
This commit is contained in:
parent
0ac383843d
commit
504e817374
1 changed files with 0 additions and 5 deletions
|
@ -6,11 +6,6 @@ module EisBilling
|
||||||
def update
|
def update
|
||||||
state = InvoiceStateMachine.new(invoice: @invoice, status: params[:status])
|
state = InvoiceStateMachine.new(invoice: @invoice, status: params[:status])
|
||||||
|
|
||||||
puts '-----'
|
|
||||||
puts @invoice
|
|
||||||
params[:status]
|
|
||||||
puts '----'
|
|
||||||
|
|
||||||
if @invoice.update(modified_params) && state.call
|
if @invoice.update(modified_params) && state.call
|
||||||
render json: {
|
render json: {
|
||||||
message: 'Invoice data was successfully updated',
|
message: 'Invoice data was successfully updated',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue