diff --git a/app/controllers/api/orders_controller.rb b/app/controllers/api/orders_controller.rb index 47eb6394..aa5f6dac 100644 --- a/app/controllers/api/orders_controller.rb +++ b/app/controllers/api/orders_controller.rb @@ -47,8 +47,9 @@ class Api::OrdersController < Api::ApiController end else @order.new_booking = false - @order.booking_id = params[:booking_id] - end + @order.booking_id = params[:booking_id] + puts "booking sale is null" + end end @status, @booking = @order.generate