Skip to content

Commit 2163db9

Browse files
committed
⚡ Update README
1 parent d839cfe commit 2163db9

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
# Spring Boot Application Demo
22

33
### Reference Documentation
4-
For further reference, please consider the following sections:
54

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:
108

119
## API Documentation
1210
### ![#f03c15](https://via.placeholder.com/15/f03c15/000000?text=+) User

src/main/java/com/nehal/demo/api/ProfileController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public ResponseEntity<Profile> updateProfile(
6565
public Map<String, Boolean> deleteProfile(@PathVariable(value = "id") Integer userId)
6666
throws ResourceNotFoundException {
6767
Profile profile = profileRepo.findById(userId).orElseThrow(() ->
68-
new ResourceNotFoundException("Profile Not found" + userId));
68+
new ResourceNotFoundException("Profile Not found" + userId));
6969
profileRepo.delete(profile);
7070
Map <String, Boolean> response = new HashMap<>();
7171
response.put("deleted", Boolean.TRUE);

0 commit comments

Comments
 (0)