Browse Source

Fix quoting on msgtype

master
John Locke 8 years ago
parent
commit
f47e120284
  1. 2
      bin/out

2
bin/out

@ -57,7 +57,7 @@ then
[[ "${room_id}" != "null" ]] && room_id="$(eval "printf ${room_id}" | jq -R -s .)" [[ "${room_id}" != "null" ]] && room_id="$(eval "printf ${room_id}" | jq -R -s .)"
body="$(cat <<EOF body="$(cat <<EOF
{ {
"msgtype": ${msgtype},
"msgtype": "${msgtype}",
"body": ${text} "body": ${text}
} }
EOF EOF

Loading…
Cancel
Save