From 0a78a192eb7eca392717bf2c7f014f3ac94e7e03 Mon Sep 17 00:00:00 2001 From: lahirulakruwan Date: Fri, 4 Oct 2024 19:06:33 +0530 Subject: [PATCH] Add person api changes added --- api/main.bal | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/main.bal b/api/main.bal index ae5065e..1a11f35 100644 --- a/api/main.bal +++ b/api/main.bal @@ -5755,8 +5755,7 @@ AND p.organization_id IN ( } - if (mailing_address != null && mailing_address?.street_address != null && - mailing_address_city != null && mailing_address_city?.id != null) { + if (mailing_address != null && mailing_address_city != null ) { sql:ExecutionResult mailing_address_res = check db_client->execute( `INSERT INTO address(