diff --git a/pom.xml b/pom.xml index efdb075..1558485 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ com.wiemanboy WiemanApi - 0.0.1-DEBUG + 0.0.1 WiemanApi WiemanApi diff --git a/src/main/java/com/wiemanboy/wiemanapi/presentation/ProfileController.java b/src/main/java/com/wiemanboy/wiemanapi/presentation/ProfileController.java index acfeb1c..b120fdb 100644 --- a/src/main/java/com/wiemanboy/wiemanapi/presentation/ProfileController.java +++ b/src/main/java/com/wiemanboy/wiemanapi/presentation/ProfileController.java @@ -3,7 +3,10 @@ import com.wiemanboy.wiemanapi.application.ProfileService; import com.wiemanboy.wiemanapi.presentation.dto.response.ProfileDto; import com.wiemanboy.wiemanapi.presentation.dto.response.ProfileLocaleDto; -import org.springframework.web.bind.annotation.*; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; @RestController @RequestMapping("/api/profiles") @@ -15,11 +18,6 @@ public ProfileController(ProfileService profileService) { this.profileService = profileService; } - @GetMapping("/test/") - public String getTest(@CookieValue(value = "token") String testCookie) { - return "Cookie value: " + testCookie; - } - @GetMapping("/{id}") public ProfileDto getProfile(@PathVariable String id) { return ProfileDto.from(profileService.getProfile(id));