zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

commit 6839dd21d3709163a0ceb48c2d0d43610f4115a6
parent 56d106c50597ef4bd2c76acff913924dd95e7533
Author: srfsh <dev@srf.sh>
Date:   Tue, 19 Jul 2022 00:49:22 +0300

gql/mw: get rid of IO.inspect/2 call

Diffstat:
Msrc/zenflows/gql/mw/admin.ex | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/zenflows/gql/mw/admin.ex b/src/zenflows/gql/mw/admin.ex @@ -9,7 +9,7 @@ alias Zenflows.Restroom @impl true def call(res, _opts) do - with %{gql_admin: key} <- res.context |> IO.inspect(), + with %{gql_admin: key} <- res.context, {:ok, key_given} <- Base.decode16(key, case: :lower), key_want = Application.fetch_env!(:zenflows, Zenflows.Admin)[:admin_key], true <- Restroom.byte_equal?(key_given, key_want) do