Skip to content

Commit

Permalink
♻️:: requestParam 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyoil2 committed Dec 5, 2023
1 parent 395b79a commit 9ff2fae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ public class UserController {
private final DeleteUserService deleteUserService;

@GetMapping()
public int whoMatch(@RequestParam String username) {
public int whoMatch(@RequestParam("user") String username) {
return whoMatchService.whoMatch(username);
}

@GetMapping("/both")
public int bothMatch(@RequestParam String username1, @RequestParam String username2) {
public int bothMatch(@RequestParam("user1") String username1, @RequestParam("user2") String username2) {
return bothMatchService.bothMatch(username1, username2);
}

Expand Down

0 comments on commit 9ff2fae

Please sign in to comment.