- Timestamp:
- 11/02/21 22:14:57 (3 years ago)
- Branches:
- master
- Children:
- 6c1585f
- Parents:
- 188ee53
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner/src/main/java/finki/diplomska/tripplanner/service/impl/PlannerServiceImpl.java
r188ee53 r6a80231 51 51 @Override 52 52 public Optional<Planner> newPlanner(PlannerDto plannerDto) { 53 /* 53 54 List<Location> locationList = new ArrayList<>(); 54 55 for(Long location : plannerDto.getLocationList()){ … … 57 58 locationList.add(loc); 58 59 } 59 return Optional.of(this.plannerRepository.save(new Planner(plannerDto.getName(), plannerDto.getDescription(), locationList))); 60 61 */ 62 return Optional.of(this.plannerRepository.save(new Planner(plannerDto.getName(), plannerDto.getDescription(), null))); 60 63 } 61 64
Note:
See TracChangeset
for help on using the changeset viewer.