zf

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

commit e62fc4477f761a8e51a7f40e237a2fa18a091804
parent 6839dd21d3709163a0ceb48c2d0d43610f4115a6
Author: srfsh <dev@srf.sh>
Date:   Tue, 19 Jul 2022 00:50:01 +0300

gql/mw: fix indentation

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 @@ -13,7 +13,7 @@ def call(res, _opts) do {: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 - res + res else _ -> Absinthe.Resolution.put_result(res, {:error, "you are not an admin"}) end