diff --git a/notify.sh b/notify.sh index 5b5b563c..f4595843 100644 --- a/notify.sh +++ b/notify.sh @@ -5,7 +5,7 @@ changelog="$(base64 -w 0 CHANGELOG)" # This call sends a message to the given recipient with vars and custom vars. curl -s \ -X POST \ - --user "46cb7f286b30df20369be709a91424a9:957e3ac14b3b106331ccd9dfe07f67fd" \ + --user ":" \ https://api.mailjet.com/v3.1/send \ -H 'Content-Type: application/json' \ - -d '{ "Messages":[ { "From": { "Email": "contact@lamsterpilotage.fr", "Name": "Equipe de développement" }, "To": [ { { "Email": "equipedev@waveheart.fr", "Name": "dev" } ], "TemplateID": 2687222, "TemplateLanguage": true, "Subject": "Nouvelle version démo", "Variables": {}, "Attachments": [ { "ContentType": "text/plain", "Filename": "changelog.md", "Base64Content": "'"$changelog"'" } ] } ] }' \ No newline at end of file + -d '{ "Messages":[ { "From": { "Email": "contactHeartTrack@gmail.com", "Name": "Equipe de développement" }, "To": [ { { "Email": "equipedev@waveheart.fr", "Name": "dev" } ], "TemplateID": 0000, "TemplateLanguage": true, "Subject": "Nouvelle version démo", "Variables": {}, "Attachments": [ { "ContentType": "text/plain", "Filename": "changelog.md", "Base64Content": "'"$changelog"'" } ] } ] }' \ No newline at end of file