MCPcopy Index your code
hub / github.com/aws-samples/eb-java-scorekeep / deleteUser

Method deleteUser

src/main/java/scorekeep/UserModel.java:38–44  ·  view source on GitHub ↗
(String userId)

Source from the content-addressed store, hash-verified

36 }
37
38 public void deleteUser(String userId) throws UserNotFoundException {
39 User user = mapper.load(User.class, userId);
40 if ( user == null ) {
41 throw new UserNotFoundException(userId);
42 }
43 mapper.delete(user);
44 }
45}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected