Skip to content

Commit

Permalink
getmail endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Gorzala committed Dec 27, 2023
1 parent 2d3b4b5 commit 76b2f14
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/net/dancier/dancer/chat/DancerController.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,10 @@ public ResponseEntity<HashMap<UUID, DancerDto>> post(
dancerService.getDancerMap(dancerIdsDto)
);
}

@GetMapping("/{dancerId}/mail")
public ResponseEntity<String> getMail(@PathVariable UUID dancierId) {
log.info("Getting email-Address for: " + dancierId);
return ResponseEntity.ok("foo");
}
}

0 comments on commit 76b2f14

Please sign in to comment.