Skip to content

Commit

Permalink
Atualiza método de mudar senha e username
Browse files Browse the repository at this point in the history
  • Loading branch information
AlefMemTav committed Aug 15, 2024
1 parent 868815c commit e597bd1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public ResponseEntity<Void> create(@RequestBody AccountRequestDTO accountCreateR
return ResponseEntity.ok().build();
}


@PatchMapping("/auth/accounts/current/patch-username")
public ResponseEntity<Void> patchUsername(HttpServletRequest request, HttpServletResponse response,
Authentication authentication, @RequestBody @Valid UsernameRequestDTO usernameRequestDTO) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;

import java.util.Map;
import java.util.Optional;

@Validated
Expand Down

0 comments on commit e597bd1

Please sign in to comment.