Skip to content

Commit

Permalink
Merge pull request #160 from lahirulakruwan/main
Browse files Browse the repository at this point in the history
Person by id api changes added
  • Loading branch information
YujithIsura authored Sep 26, 2024
2 parents 712d668 + a9e873f commit 33caeaf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions api/main.bal
Original file line number Diff line number Diff line change
Expand Up @@ -5532,6 +5532,14 @@ AND p.organization_id IN (
}

}

isolated resource function get person_by_id(int? id) returns PersonData|error? {
if (id != null) {
return new (null,id);
} else {
return error("Provide non-null value for id.");
}
}

}

Expand Down

0 comments on commit 33caeaf

Please sign in to comment.