Skip to content

Commit

Permalink
fix: Fix pagoPA nightly API check (#1879)
Browse files Browse the repository at this point in the history
* tests

* tests

* tests

* restore

* add silent flag
  • Loading branch information
Undermaken authored Jun 5, 2020
1 parent a44841c commit 6f64d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pagopa_api_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ else
SEND_EXIT=1
#send slack notification
channel="#io_status"
res=$(curl -s -X POST -H 'Content-type: application/json' --data '{"text":"'"$SEND_MSG"'", "channel" : "'$channel'"}' ${ITALIAAPP_SLACK_TOKEN_PAGOPA_CHECK:-})
res=$(curl -s -X POST -H 'Content-type: application/json' -H 'Authorization: Bearer '${ITALIAAPP_SLACK_TOKEN_PAGOPA_CHECK:-}'' --data '{"text":"'"$SEND_MSG"'", "channel" : "'$channel'"}' https://slack.com/api/chat.postMessage)
fi

exit $SEND_EXIT

0 comments on commit 6f64d64

Please sign in to comment.