zf

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

commit b543adaf214050a1236555804e3fae30095101d3
parent 8dcb0a4fc4c0e3ba0f6cb834fbd3f3806c548c0e
Author: Alberto Lerda <albertolerda97@gmail.com>
Date:   Wed,  5 Oct 2022 11:18:45 +0200

Zenflows.GQL.MW.Debug: resolve ambiguity between nil and false

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

diff --git a/src/zenflows/gql/mw/debug.ex b/src/zenflows/gql/mw/debug.ex @@ -24,7 +24,7 @@ Absinthe middleware to verify GraphQL calls. @impl true def call(res, _opts) do - if res.context[:authenticate_calls?] do + if Map.has_key?(res.context, :authenticate_calls?) do res else put_in(res.context[:authenticate_calls?], conf()[:authenticate_calls?])