-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: route for updating parent relation (#192)
* deleteParentNoteRelationByNoteId func * add func updateNoteRelationById in note service * route to update parent * tests for new route * remove duplicate tests * refactor: remove delete functionality from updateNoteRelation * refactor: PATCH /note/:noteId/parent route does not delete relations * remove updating parent from updateNoteContent * add new check in tests
- Loading branch information
Showing
3 changed files
with
201 additions
and
16 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