commit f3353a092fd2ff4a437b7059aa326c181c4eb232
parent da1b6dd9e3c3fc03fac16edfddb9dd9450f41017
Author: srfsh <dev@srf.sh>
Date: Thu, 21 Jul 2022 20:09:35 +0300
restroom: reflect changes on return value
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/zenflows/restroom.ex b/src/zenflows/restroom.ex
@@ -44,7 +44,7 @@ def verify_graphql?(body, signature, pubkey) do
"eddsa_public_key" => pubkey,
}
case exec("verify_graphql", data) do
- {:ok, %{"output" => ["VALID SIGNATURE"]}} -> true
+ {:ok, %{"output" => ["1"]}} -> true
_ -> false
end
end