Skip to content

Commit a949ae3

Browse files
committed
notify on user create (synchronously)
1 parent dd90d01 commit a949ae3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/scorekeep/UserFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public String randomName() throws IOException {
4747
Map<String, String> jsonMap = mapper.readValue(inputStream, Map.class);
4848
String name = jsonMap.get("name");
4949
EntityUtils.consume(entity);
50+
Sns.sendNotification("Scorekeep user created", "Name: " + name);
5051
return name;
5152
} finally {
5253
response.close();

0 commit comments

Comments
 (0)