Skip to content

Commit cbb6267

Browse files
committed
feat: add serverName variable on alert template
Signed-off-by: Christophe Chauvet <christophe.chauvet@gmail.com>
1 parent 7723b34 commit cbb6267

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • server/src/com/mirth/connect/server/alert

server/src/com/mirth/connect/server/alert/Alert.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public Map<String, Object> createContext() {
5656
context.put("alertId", model.getId());
5757
context.put("alertName", model.getName());
5858
context.put("serverId", ConfigurationController.getInstance().getServerId());
59+
context.put("serverName", ConfigurationController.getInstance().getServerName());
5960
context.put("date", new DateTool());
6061

6162
return context;

0 commit comments

Comments
 (0)