aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/juick/server/ServerManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/ServerManager.java b/src/main/java/com/juick/server/ServerManager.java
index ca69f7d8..abdef1c2 100644
--- a/src/main/java/com/juick/server/ServerManager.java
+++ b/src/main/java/com/juick/server/ServerManager.java
@@ -108,7 +108,7 @@ public class ServerManager implements NotificationListener {
try {
var eventHeader = Collections.singletonMap("X-Event-Version", "1.0");
emailManager.sendEmail("noreply@juick.com", serviceEmail, "New system event",
- jsonMapper.writeValueAsString(systemEvent), null, eventHeader);
+ jsonMapper.writeValueAsString(systemEvent.getActivity()), null, eventHeader);
} catch (JsonProcessingException e) {
logger.warn("JSON exception", e);
}