Skip to content

Commit

Permalink
Debug info for stickler test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotendahl committed Mar 26, 2019
1 parent d38ccad commit 45452bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/robo_pirate/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ defmodule RoboPirate.Router do

post "/action" do
if conn |> AuthHelper.from_slack?() do
IO.inspect(conn)
{:ok, payload} = conn.body_params["payload"] |> Poison.decode()
Task.async(fn -> ActionHandler.handle_action(payload) end)
send_resp(conn, 200, "")
Expand Down

0 comments on commit 45452bf

Please sign in to comment.