From f02791bdf8f16217441fe853c7f1eb94de120f68 Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Thu, 13 Oct 2022 13:00:38 +0200 Subject: [PATCH] disabled tentant check --- application/Api/v1/PreorderApicontroller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/Api/v1/PreorderApicontroller.php b/application/Api/v1/PreorderApicontroller.php index f685c7a5c..f54d70f0f 100644 --- a/application/Api/v1/PreorderApicontroller.php +++ b/application/Api/v1/PreorderApicontroller.php @@ -279,14 +279,14 @@ class PreorderApicontroller extends mfBaseApicontroller { $preorder_data[$key] = $customer->$key; } } - + /* if($customer->type == "tenant") { $preorder_data['contact_type'] = "tenant"; } elseif($customer->type == "owner") { $preorder_data['contact_type'] = "owner"; } else { return mfResponse::BadRequest(["message" => "customer type must be 'tenant' or 'owner'"]); - } + }*/ /* * create preorder record