diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-11-20 13:08:12 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-11-20 13:08:12 -0700 |
commit | 2b063d19cb98e82e74f8ebe95a8ab730a0285334 (patch) | |
tree | 9bc32dcfbfd74ab428532dc8d2cb7945b2f5b0e8 /lib/chessh/web/web.ex | |
parent | a4b89b6de436edbe907a095f867e57a0848a453e (diff) | |
download | chessh-2b063d19cb98e82e74f8ebe95a8ab730a0285334.tar.gz chessh-2b063d19cb98e82e74f8ebe95a8ab730a0285334.zip |
run formatter
Diffstat (limited to 'lib/chessh/web/web.ex')
-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)) |