File tree 2 files changed +4
-6
lines changed
src/main/java/com/nehal/demo/api
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Spring Boot Application Demo
2
2
3
3
### Reference Documentation
4
- For further reference, please consider the following sections:
5
4
6
- - ![ #f03c15] ( https://via.placeholder.com/15/f03c15/000000?text=+ )
7
- - ![ #c5f015] ( https://via.placeholder.com/15/c5f015/000000?text=+ )
8
- - ![ #1589F0] ( https://via.placeholder.com/15/1589F0/000000?text=+ )
9
- - ![ #00ff00] ( https://via.placeholder.com/15/00ff00/000000?text=+ )
5
+ <a href =" https://github.com/Nehal-Bhautoo/Spring-Boot-Demo/tree/master/postman%20collection " >Get Postman collection</a >
6
+
7
+ For further reference, please consider the following sections:
10
8
11
9
## API Documentation
12
10
### ![ #f03c15] ( https://via.placeholder.com/15/f03c15/000000?text=+ ) User
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public ResponseEntity<Profile> updateProfile(
65
65
public Map <String , Boolean > deleteProfile (@ PathVariable (value = "id" ) Integer userId )
66
66
throws ResourceNotFoundException {
67
67
Profile profile = profileRepo .findById (userId ).orElseThrow (() ->
68
- new ResourceNotFoundException ("Profile Not found" + userId ));
68
+ new ResourceNotFoundException ("Profile Not found" + userId ));
69
69
profileRepo .delete (profile );
70
70
Map <String , Boolean > response = new HashMap <>();
71
71
response .put ("deleted" , Boolean .TRUE );
You can’t perform that action at this time.
0 commit comments