From 8d5ee0d6e1f69ead5361442bdc673b8f4649f3ea Mon Sep 17 00:00:00 2001 From: munja Date: Sun, 7 Aug 2022 14:16:36 +0100 Subject: [PATCH] chore: json payload --- sasjs-tests/sasjs-cypress-run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sasjs-tests/sasjs-cypress-run.sh b/sasjs-tests/sasjs-cypress-run.sh index 72d821f..61e5386 100755 --- a/sasjs-tests/sasjs-cypress-run.sh +++ b/sasjs-tests/sasjs-cypress-run.sh @@ -3,8 +3,8 @@ if npm run cy:run -- --spec "cypress/integration/sasjs.tests.ts" ; then echo "Cypress sasjs testing passed!" else - echo "curling: Automated sasjs-tests failed on the @sasjs/adapter PR on following link.\n" $2 - curl -XPOST -d '{"msgtype":"m.text", "body":"content":"Automated sasjs-tests failed on the @sasjs/adapter PR on following link.\n'$2'"}' https://matrix.4gl.io/_matrix/client/r0/rooms/%21BDUPBPEGVvRLKLQUxY:4gl.io/send/m.room.message?access_token=$1 + echo '{"msgtype":"m.text", "body":"content":"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 echo "Cypress sasjs testing failed!" exit 1 fi