Skip to content

Commit

Permalink
Added temp webhook logs
Browse files Browse the repository at this point in the history
  • Loading branch information
lucapasquale committed May 17, 2024
1 parent 7bcafe2 commit d208d78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/botchini_web/controllers/twtich_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ defmodule BotchiniWeb.TwitchController do
message_id = get_header(conn, "twitch-eventsub-message-id")
message_timestamp = get_header(conn, "twitch-eventsub-message-timestamp")
[body] = Map.get(conn.assigns, :raw_body)
Logger.info(body)

webhook_secret = Application.fetch_env!(:botchini, :twitch_webhook_secret)
payload = message_id <> message_timestamp <> body
Expand Down

0 comments on commit d208d78

Please sign in to comment.