move customer func: from doemal
This commit is contained in:
@@ -22,7 +22,7 @@ class Api::OrderReserve::OrderReservationController < Api::ApiController
|
||||
if !check_customer.nil?
|
||||
customer_id = check_customer.customer_id
|
||||
else
|
||||
customer = Customer.addCustomer(params)
|
||||
customer = OrderReservation.addCustomer(params)
|
||||
customer_id = customer.id
|
||||
end
|
||||
render :json => { :status => true, :data => { :customer_id => customer_id} }
|
||||
|
||||
Reference in New Issue
Block a user