Closed robpc closed 4 years ago
Multiline messages like
args: |- '{ "channel": "GK32Z5RV1", "text": ":docker: image was built successfully", }'
Produce errors from the api
{"ok":false,"error":"json_not_object","warning":"missing_charset","response_metadata":{"warnings":["missing_charset"]}}
Wrapping the payload in ' removes that error
'
@robpc @abinoda This seems to have broken single-line payloads. All our actions now produces same error as this PR fixes for multiline.
@jvassbo Will revert!
Multiline messages like
Produce errors from the api
{"ok":false,"error":"json_not_object","warning":"missing_charset","response_metadata":{"warnings":["missing_charset"]}}
Wrapping the payload in
'
removes that error