graphql: Add a method to update a user

This commit is contained in:
Valentin Tolmer
2021-09-01 10:00:51 +02:00
committed by nitnelave
parent 0ac9e134de
commit 2954109d96
7 changed files with 101 additions and 8 deletions

View File

@@ -46,7 +46,7 @@ impl CreateUserForm {
match msg {
Msg::SubmitForm => {
let req = create_user::Variables {
user: create_user::UserInput {
user: create_user::CreateUserInput {
id: get_element("username")
.filter(not_empty)
.ok_or_else(|| anyhow!("Missing username"))?,