Skip to content

Commit

Permalink
Merge branch 'google-chat-migration'
Browse files Browse the repository at this point in the history
  • Loading branch information
Savjee committed Jan 13, 2025
2 parents c5ef4ef + d604700 commit 029bd33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/newsletter/signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function redirect(url){
}

function notifySlack(email, req, env){
return fetch(new Request(env.SLACK_WEBHOOK, {
return fetch(new Request(env.GOOGLE_CHAT_WEBHOOK, {
method: 'POST',
body: JSON.stringify({
text: "Someone subscribed to mailing list from the website: " + email,
Expand Down

0 comments on commit 029bd33

Please sign in to comment.