Bläddra i källkod

home branch updated with register

Jonathan Hinds 5 år sedan
förälder
incheckning
88cb92c6cc

+ 2
- 3
src/main/java/rocks/zipcode/io/web/rest/AccountResource.java Visa fil

@@ -80,7 +80,6 @@ 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");
84 83
     }
85 84
 
86 85
     /**
@@ -131,8 +130,8 @@ public class AccountResource {
131 130
         if (!user.isPresent()) {
132 131
             throw new InternalServerErrorException("User could not be found");
133 132
         }
134
-        userService.updateUser(userDTO.getFirstName(), userDTO.getLastName(), userDTO.getEmail(),
135
-            userDTO.getLangKey(), userDTO.getImageUrl());
133
+
134
+        userService.updateUser(userDTO.getFirstName(), userDTO.getLastName(), userDTO.getEmail(), userDTO.getLangKey(), userDTO.getImageUrl());
136 135
     }
137 136
 
138 137
     /**

+ 0
- 2
src/main/webapp/app/FaeBoo/Profile-head/profile-head.component.html Visa fil

@@ -50,8 +50,6 @@
50 50
 
51 51
     </div>
52 52
 
53
-    <div [innerHTML] = bioinput></div>
54
-
55 53
     <hr>
56 54
 
57 55
     <div id = "bio-cont"></div>

+ 0
- 2
src/main/webapp/app/FaeBoo/Profile-head/profile-head.component.ts Visa fil

@@ -18,13 +18,11 @@ export class ProfileHeadComponent implements OnInit {
18 18
     isSaving: boolean;
19 19
     testPost: IPost;
20 20
     posts: IPost[];
21
-    bioinput: string;
22 21
 
23 22
     constructor(private postService: PostService, private jhiAlertService: JhiAlertService) {}
24 23
 
25 24
     ngOnInit() {
26 25
         this.loadAll();
27
-        this.bioinput = `<input>`;
28 26
     }
29 27
 
30 28
     trackId(index: number, item: IPost) {