commit 26d4d655343fa10336ba07f1c1cf541e34d0906c
parent c68621867b5ffb2bb6db02686246efd99f87f25e
Author: srfsh <dev@srf.sh>
Date: Tue, 19 Jul 2022 01:04:33 +0300
web/mw/gql_context: tiny fix
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/zenflows/web/mw/gql_context.ex b/src/zenflows/web/mw/gql_context.ex
@@ -43,6 +43,8 @@ defp set_user_and_sign_and_body(ctx, conn) do
|> Map.put(:gql_user, user)
|> Map.put(:gql_sign, sign)
|> Map.put(:gql_body, raw_body)
+ else _ ->
+ ctx
end
end
end