Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
oma-s committed Apr 8, 2024
1 parent a19209b commit 628a247
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/slack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ def notify(channel:, text:)
end

def push_personalized_message_to_daily_nerd_channel(body:)
# This is the old way of posting to slack on behalf of a user using a webhook.
# It might be necessary to change this in the future to use the new Slack API.
request_hook url: Config.slack_webhook_url!, body: body.to_json
end

Expand Down

0 comments on commit 628a247

Please sign in to comment.