From e597bd1fc8caf4d5ccf930bcad47aa36d2e12906 Mon Sep 17 00:00:00 2001 From: Pedro Lucas Garcia <190115548@aluno.unb.br> Date: Thu, 15 Aug 2024 20:21:25 -0300 Subject: [PATCH] =?UTF-8?q?Atualiza=20m=C3=A9todo=20de=20mudar=20senha=20e?= =?UTF-8?q?=20username?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/mymarket/mvp/accounts/AccountController.java | 1 - mvp/src/main/java/com/mymarket/mvp/accounts/AccountService.java | 1 - 2 files changed, 2 deletions(-) diff --git a/mvp/src/main/java/com/mymarket/mvp/accounts/AccountController.java b/mvp/src/main/java/com/mymarket/mvp/accounts/AccountController.java index 5d7a43c..4950b89 100644 --- a/mvp/src/main/java/com/mymarket/mvp/accounts/AccountController.java +++ b/mvp/src/main/java/com/mymarket/mvp/accounts/AccountController.java @@ -37,7 +37,6 @@ public ResponseEntity create(@RequestBody AccountRequestDTO accountCreateR return ResponseEntity.ok().build(); } - @PatchMapping("/auth/accounts/current/patch-username") public ResponseEntity patchUsername(HttpServletRequest request, HttpServletResponse response, Authentication authentication, @RequestBody @Valid UsernameRequestDTO usernameRequestDTO) { diff --git a/mvp/src/main/java/com/mymarket/mvp/accounts/AccountService.java b/mvp/src/main/java/com/mymarket/mvp/accounts/AccountService.java index 9ccd1ee..980da9f 100644 --- a/mvp/src/main/java/com/mymarket/mvp/accounts/AccountService.java +++ b/mvp/src/main/java/com/mymarket/mvp/accounts/AccountService.java @@ -12,7 +12,6 @@ import org.springframework.stereotype.Service; import org.springframework.validation.annotation.Validated; -import java.util.Map; import java.util.Optional; @Validated