Elliott Stansbury před 5 roky
rodič
revize
b20f5f0d33

+ 4
- 0
src/main/java/rocks/zipcode/io/web/rest/AccountResource.java Zobrazit soubor

@@ -80,6 +80,7 @@ public class AccountResource {
80 80
         if (!user.isPresent()) {
81 81
             throw new InternalServerErrorException("No user was found for this activation key");
82 82
         }
83
+        System.out.println("2");
83 84
     }
84 85
 
85 86
     /**
@@ -130,6 +131,9 @@ public class AccountResource {
130 131
         if (!user.isPresent()) {
131 132
             throw new InternalServerErrorException("User could not be found");
132 133
         }
134
+        userService.updateUser(userDTO.getFirstName(), userDTO.getLastName(), userDTO.getEmail(),
135
+            userDTO.getLangKey(), userDTO.getImageUrl());
136
+        System.out.println("5");
133 137
     }
134 138
 
135 139
     /**