mirror of
https://github.com/usatiuk/y.git
synced 2025-10-29 02:37:49 +01:00
posts posting
This commit is contained in:
@@ -44,7 +44,7 @@ public class PersonController {
|
||||
return PersonMapper.makeDto(found.get());
|
||||
}
|
||||
|
||||
@GetMapping(path = "")
|
||||
@GetMapping
|
||||
public PersonTo getSelf(Principal principal) throws UserNotFoundException {
|
||||
Optional<Person> found = personService.readById(principal.getName());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user