commit b5ac0119fd3f609a2c40dfb66fea896d7699f5b5
parent 0adc4cfb7c5e4251e397b241870ab190dd6d0b3d
Author: srfsh <dev@srf.sh>
Date: Fri, 22 Jul 2022 19:07:11 +0300
restroom: update to reflect changes to verify_graphql.zen
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/zenflows/restroom.ex b/src/zenflows/restroom.ex
@@ -39,7 +39,7 @@ executes the query, verify that everything matches.
@spec verify_graphql?(binary(), String.t(), String.t()) :: boolean()
def verify_graphql?(body, signature, pubkey) do
data = %{
- "graphql" => Base.encode64(body),
+ "gql" => Base.encode64(body),
"eddsa_signature" => signature,
"eddsa_public_key" => pubkey,
}