fixed a mistake

This commit is contained in:
Michael 2019-04-17 08:36:52 +02:00
parent 26e98f3db4
commit da75fbb922

View File

@ -297,8 +297,9 @@ public class Controller {
// try {
// String userString = (String) claims.get("user");
// JSONParser parser = new JSONParser();
// JSONObject userObject = (JSONObject) parser.parse(token);
// JSONObject userObject = (JSONObject) parser.parse(userString);
// int userID = (Integer) userObject.get("userID");
// Optional<User> userOptional = userRepository.findById(userID);
// if (userOptional.isPresent()) {