-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
back: Add getSiblings method in Region Controller.
This commit introduces a new method getSiblings in regionController.js. This method seeks to return sibling regions for a given region ID and hierarchy ID. It also modifies the Hierarchy model to include a getSiblings method and updates the regionRoutes.js to add a new route for this functionality. Issue: #159 Signed-off-by: Nikolay Martyanov <[email protected]>
- Loading branch information
1 parent
d5fbec7
commit 10cf654
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters