This commit is contained in:
parent
e981d9c92e
commit
25b47fd03d
|
@ -88,7 +88,6 @@ public class Users {
|
|||
|
||||
UserInfo userInfo = userInfoDao.getUserInfo(userID);
|
||||
|
||||
System.out.println(userInfo.getName());
|
||||
|
||||
if(userInfo==null) //this should normally never happer
|
||||
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).body("There's no such a user on the system. You shouldn't be here");
|
||||
|
|
Loading…
Reference in New Issue