diff --git a/.github/workflows/notify-on-merge.yml b/.github/workflows/notify-on-merge.yml index 6f58872..78023ba 100644 --- a/.github/workflows/notify-on-merge.yml +++ b/.github/workflows/notify-on-merge.yml @@ -18,5 +18,5 @@ jobs: CONFIGS_LOCATION_BASE: ${{ secrets.CONFIGS_LOCATION_BASE }} run: | source $CONFIGS_LOCATION_BASE/docker.env; - curl http://127.0.0.1:$NOTIFIER_PUBLISH_PORT -d "{\"error\":false,\"args\":[\"User $GITHUB_ACTOR made a pull request\",\"From branch: $GITHUB_HEAD_REF\",\"To branch: $GITHUB_BASE_REF\"],\"tag\":\"ci\"}" || + curl http://127.0.0.1:$NOTIFIER_PUBLISH_PORT -d "{\"error\":false,\"args\":[\"User $GITHUB_ACTOR made a pull request\\nFrom branch: $GITHUB_HEAD_REF\\nTo branch: $GITHUB_BASE_REF\"],\"tag\":\"ci\"}" || echo "Error while sending notification" diff --git a/backend/pages/api.js b/backend/pages/api.js index 1a87367..4845be5 100644 --- a/backend/pages/api.js +++ b/backend/pages/api.js @@ -403,7 +403,9 @@ module.exports = (iModuleDataObject) => { break; case "ping": - GlobalSendCustom(200, "pong"); + GlobalSendCustom(200, { + message: "pong" + }); break; case "logs":