Update graphql types and mutations

This commit is contained in:
Hazem Krimi
2021-05-18 22:38:21 +01:00
parent 05d43a3b31
commit c1c5af43a6
9 changed files with 505 additions and 234 deletions
+9 -6
View File
@@ -108,12 +108,15 @@ const Settings = () => {
}) =>
updateUserInfo({
variables: {
id: currentUser?.id!,
email: currentUser?.email!,
firstName,
lastName,
phone: { prefix, number },
address: { place, city, country, zip },
user: {
id: currentUser?.id!,
email: currentUser?.email!,
firstName,
lastName,
phone: { prefix, number },
address: { place, city, country, zip },
role: currentUser?.role!,
},
},
}),
});