From 1ef5da51bf1170afb18a45967b4e5d87406ff07e Mon Sep 17 00:00:00 2001 From: Michael Both Date: Fri, 8 Mar 2019 00:09:15 +0100 Subject: [PATCH] Remove excess quotes from text property --- bin/out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/out b/bin/out index ee31d3c..e10472e 100755 --- a/bin/out +++ b/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}"