diff --git a/juniper/src/schema.rs b/juniper/src/schema.rs index 889ae954..cbec1398 100644 --- a/juniper/src/schema.rs +++ b/juniper/src/schema.rs @@ -45,7 +45,7 @@ pub struct MutationRoot; #[juniper::object] impl MutationRoot { - fn createHuman(new_human: NewHuman) -> FieldResult { + fn create_human(new_human: NewHuman) -> FieldResult { Ok(Human { id: "1234".to_owned(), name: new_human.name,