Changeset 6fe77af for trip-planner/src/main/java/finki/diplomska/tripplanner/web/rest/PlannerRestController.java
- Timestamp:
- 02/06/22 18:15:51 (3 years ago)
- Branches:
- master
- Children:
- 571e0df
- Parents:
- 76712b2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner/src/main/java/finki/diplomska/tripplanner/web/rest/PlannerRestController.java
r76712b2 r6fe77af 69 69 @ResponseStatus(HttpStatus.CREATED) 70 70 public ResponseEntity<?> newPlanner(@Valid @RequestBody PlannerDto plannerDto, Authentication authentication) { 71 72 71 User user = (User) authentication.getPrincipal(); 73 72 return this.plannerService.newPlanner(plannerDto, user.getUsername())
Note:
See TracChangeset
for help on using the changeset viewer.