diff --git a/samples/demo-server/src/methods.rs b/samples/demo-server/src/methods.rs index 89cc757f3..cce971db8 100644 --- a/samples/demo-server/src/methods.rs +++ b/samples/demo-server/src/methods.rs @@ -52,7 +52,7 @@ pub fn add_methods(server: &mut Server, ns: u16) { MethodBuilder::new(&fn_node_id, "Boop", "Boop") .component_of(object_id.clone()) .input_args(&mut address_space, &[("Ping", DataTypeId::String).into()]) - .callback(Box::new(HelloX)) + .callback(Box::new(Boop)) .insert(&mut address_space); }