docs: fix action handler example (#4663)

This commit is contained in:
Marion Schleifer 2020-05-05 05:46:39 +02:00 committed by GitHub
parent 8a58ef8b0c
commit 9f4461b223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,7 +100,9 @@ Hasura will call the handler with the following payload:
.. code-block:: json
{
"action": "UserLogin",
"action": {
"name": "UserLogin"
},
"input": {
"username": "jake",
"password": "secretpassword"