From 3b53d5b3ae19331e40b207b01e4f2429a519c05e Mon Sep 17 00:00:00 2001 From: munja Date: Sun, 7 Aug 2022 14:52:42 +0100 Subject: [PATCH] chore: fix body --- sasjs-tests/sasjs-cypress-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sasjs-tests/sasjs-cypress-run.sh b/sasjs-tests/sasjs-cypress-run.sh index 56d642f..979487d 100755 --- a/sasjs-tests/sasjs-cypress-run.sh +++ b/sasjs-tests/sasjs-cypress-run.sh @@ -4,7 +4,7 @@ if npm run cy:run -- --spec "cypress/integration/sasjs.tests.ts" ; then echo "Cypress sasjs testing passed!" else echo '{"msgtype":"m.text", "body":"Automated sasjs-tests failed on the @sasjs/adapter PR: '$2'"}' - curl -XPOST -d '{"msgtype":"m.text", "body":"content":"Automated sasjs-tests failed on the @sasjs/adapter PR: '$2'"}' https://matrix.4gl.io/_matrix/client/r0/rooms/%21BDUPBPEGVvRLKLQUxY:4gl.io/send/m.room.message?access_token=$1 + curl -XPOST -d '{"msgtype":"m.text", "body":"Automated sasjs-tests failed on the @sasjs/adapter PR: '$2'"}' https://matrix.4gl.io/_matrix/client/r0/rooms/%21BDUPBPEGVvRLKLQUxY:4gl.io/send/m.room.message?access_token=$1 echo "Cypress sasjs testing failed!" exit 1 fi