Skip to content

Commit

Permalink
Fix wrong callback for method in demo server
Browse files Browse the repository at this point in the history
  • Loading branch information
locka99 committed Mar 29, 2022
1 parent 230da16 commit fe3a3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/demo-server/src/methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit fe3a3fc

Please sign in to comment.