Skip to content

Commit

Permalink
Rename endpoint for retrieving a single note to improve clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rkr0n1n committed Dec 31, 2024
1 parent 36bd544 commit d08953e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ public List<Note> retrieveAllNotes() {
return databaseClient.retrieveAllNotes();
}

@GetMapping("/retrieveAllNotes")
public Optional<Note> retrieveAllNote(@RequestParam UUID id) {
@GetMapping("/retrieveNote")
public Optional<Note> retrieveNote(@RequestParam UUID id) {
return databaseClient.retrieveNote(id);
}

Expand Down

0 comments on commit d08953e

Please sign in to comment.