Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinh-Tan-Dat committed Jun 17, 2024
1 parent 3ba7b48 commit ffebbbb
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.programming.streaming.controller;
package com.programming.userService.controller;

import lombok.AllArgsConstructor;
import org.springframework.http.HttpStatus;
Expand All @@ -12,8 +12,8 @@
import org.springframework.web.bind.annotation.RestController;

import com.google.gson.Gson;
import com.programming.streaming.entity.AuthUser;
import com.programming.streaming.repository.AuthUserRepository;
import com.programming.userService.entity.AuthUser;
import com.programming.userService.repository.AuthUserRepository;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
Expand Down Expand Up @@ -48,6 +48,10 @@ public String getEmail() {
return email;
}
}
@GetMapping("/")
public String getServiceName(){
return "User Service";
}

@PostMapping("/send-verification-email")
public String sendVerificationEmail(@RequestBody String emailJson) {
Expand Down

0 comments on commit ffebbbb

Please sign in to comment.