Spring Boot - REST Controllers
Identify the error in this Spring Boot controller method intended to delete a user by ID:
@DeleteMapping("/users")
public void deleteUser(@PathVariable int id) {
userService.deleteById(id);
}