- Timestamp:
- 09/23/22 02:03:14 (2 years ago)
- Branches:
- master
- Children:
- 895cd87
- Parents:
- 436e0da
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
phonelux-backend/src/main/java/finki/it/phoneluxbackend/controllers/UserController.java
r436e0da r48f3030 33 33 } 34 34 35 @PutMapping(path = "/{userId}/editspecifications") 36 public ResponseEntity<Object> editSpecificationsForUser(@PathVariable("userId") Long userId, 37 @RequestBody String specifications){ 38 return userService.editSpecificationsForUser(userId,specifications); 39 } 40 41 @GetMapping(path = "/{userId}/getspecifications") 42 public String getSpecificationsForUser(@PathVariable("userId") Long userId){ 43 return userService.getSpecificationsForUser(userId); 44 } 45 35 46 }
Note:
See TracChangeset
for help on using the changeset viewer.