Skip to content

Commit

Permalink
chore: variable convention
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmelati committed Dec 17, 2024
1 parent 98f4f72 commit 5115384
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ class AccountController {
return accountService.create(account)
}

@DeleteMapping("/{accountUsername}")
fun deleteAccount(@PathVariable accountUsername: String): Account {
return accountService.deleteAccount(accountUsername)
@DeleteMapping("/{username}")
fun deleteAccount(@PathVariable username: String): Account {
return accountService.deleteAccount(username)
}
}

0 comments on commit 5115384

Please sign in to comment.