Skip to content

Commit

Permalink
Merge pull request #170 from lahirulakruwan/main
Browse files Browse the repository at this point in the history
Add person api changes added
  • Loading branch information
YujithIsura authored Oct 5, 2024
2 parents 6a005dc + 49e16b5 commit 566d38f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/main.bal
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 566d38f

Please sign in to comment.