This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutation { | |
register( | |
email: "new_user@email.com", | |
username: "new_user", | |
password1: "supersecretpassword", | |
password2: "supersecretpassword", | |
) { | |
success, | |
errors, | |
token, | |
refreshToken | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Emehinola,
this file does not goes in the structure of your proyect, is a test mutation for you to run in the server in order to create a new user.
So, if you has created your django server try this:
in there, run the mutation, the user should be created