We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2067d04 commit 8c8c0d7Copy full SHA for 8c8c0d7
src/main/java/lk/ijse/dep/note/service/impl/UserServiceImpl.java
@@ -48,6 +48,7 @@ public UserDTO getUserInfo(String userId) throws NotFoundException {
48
@Override
49
public void deleteUser(String userId) throws NotFoundException {
50
if(!userRepository.existById(userId)) throw new NotFoundException("Invalid User id");
51
+ userRepository.deleteById(userId);
52
53
54
}
0 commit comments