Browse Source

Remove excess quotes from text property

master
Michael Both 6 years ago
parent
commit
1ef5da51bf
  1. 2
      bin/out

2
bin/out

@ -34,7 +34,7 @@ thisdata_file="$(jq -r '.params.data_file // ""' < "${payload}")"
[[ -n $thisdata_file && $thisthisdata_file != $data_file ]] && data_file="${thisdata_file}"
from="$(jq -r '.params.from // ""' < "${payload}")"
trigger="$(jq -r '.params.trigger // ""' < "${payload}")"
text="$(jq '(.params.text // "${TEXT_FILE_CONTENT}")' < "${payload}")"
text="$(jq -r '(.params.text // "${TEXT_FILE_CONTENT}")' < "${payload}")"
thismsgtype="$(jq -r '.params.msgtype // ""' < "${payload}")"
[[ -n $thismsgtype && $thismsgtype != $msgtype ]] && msgtype="${thismsgtype}"

Loading…
Cancel
Save