File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/main/java/com/programming/userService/controller Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1- package com .programming .streaming .controller ;
1+ package com .programming .userService .controller ;
22
33import lombok .AllArgsConstructor ;
44import org .springframework .http .HttpStatus ;
1212import org .springframework .web .bind .annotation .RestController ;
1313
1414import com .google .gson .Gson ;
15- import com .programming .streaming .entity .AuthUser ;
16- import com .programming .streaming .repository .AuthUserRepository ;
15+ import com .programming .userService .entity .AuthUser ;
16+ import com .programming .userService .repository .AuthUserRepository ;
1717
1818import org .springframework .web .bind .annotation .GetMapping ;
1919import org .springframework .web .bind .annotation .PathVariable ;
@@ -48,6 +48,10 @@ public String getEmail() {
4848 return email ;
4949 }
5050 }
51+ @ GetMapping ("/" )
52+ public String getServiceName (){
53+ return "User Service" ;
54+ }
5155
5256 @ PostMapping ("/send-verification-email" )
5357 public String sendVerificationEmail (@ RequestBody String emailJson ) {
You can’t perform that action at this time.
0 commit comments