Récupération du profil utilisateur après connexion

This commit is contained in:
2020-06-22 12:06:42 +02:00
parent 62fe6fbeeb
commit 369be98bd8
12 changed files with 156 additions and 14 deletions

View File

@ -0,0 +1,18 @@
/* fetchUser */
variables {
"email": ""
}
query fetchUser {
user(where: {email: {eq: $email}}) {
id
created_at
updated_at
email,
full_name
}
}