shop code
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
if @result && @cus
|
||||
if @result
|
||||
json.status true
|
||||
json.sent_pin true
|
||||
elsif @cus
|
||||
json.status true
|
||||
json.sent_pin false
|
||||
json.customer_id @cus.id
|
||||
else
|
||||
json.status false
|
||||
json.message "Customer Not Found"
|
||||
json.message "Phone number invalid"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user