Bladeren bron

updated homepage

Elliott Stansbury 5 jaren geleden
bovenliggende
commit
b20f5f0d33
1 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. 4
    0
      src/main/java/rocks/zipcode/io/web/rest/AccountResource.java

+ 4
- 0
src/main/java/rocks/zipcode/io/web/rest/AccountResource.java Bestand weergeven

@@ -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
     /**