|
@@ -48,7 +48,7 @@ class CustomCustomerView(View):
|
|
|
return response.json(444)
|
|
|
try:
|
|
|
custom_customer = CustomCustomerOrderInfo.objects.filter(order_number=order_number).first()
|
|
|
- if custom_customer:
|
|
|
+ if not custom_customer:
|
|
|
return response.json(173)
|
|
|
custom_customer_data = {'cId': custom_customer.id}
|
|
|
return response.json(0, custom_customer_data)
|