* Fixing missing more Info * minor bug --------- Co-authored-by: Hornochs <stephan.schaffner@check24.de> Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
@@ -46,6 +46,11 @@ json=$(
"name": "Server Time",
"value": "$(date)",
"inline": true
+ },
+ {
+ "name": "More info",
+ "value": "${alerturl}",
+ "inline": true
}
EOF
)
@@ -63,7 +68,7 @@ EOF
fi
-if [ -n "{alerturl}" ]; then
+if [ -n "${alerturl}" ]; then
json+=$(
cat << EOF
,