diff options
Diffstat (limited to 'lib/chessh')
-rw-r--r-- | lib/chessh/web/web.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chessh/web/web.ex b/lib/chessh/web/web.ex index 26385df..b18aa93 100644 --- a/lib/chessh/web/web.ex +++ b/lib/chessh/web/web.ex @@ -295,6 +295,7 @@ defmodule Chessh.Web.Endpoint do Enum.find_value(conn.req_headers, fn {header, value} -> if header === "authorization", do: value end) + attempted_move = conn.body_params["attempted_move"] bot = Repo.one(from(b in Bot, where: b.token == ^token)) |