mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-11 02:48:21 +00:00
rename rpc methods
This commit is contained in:
parent
42cc14cb14
commit
2281803fa0
1 changed files with 2 additions and 2 deletions
|
@ -37,11 +37,11 @@ pub fn new_rpc_module(state: RpcState) -> RpcModule<RpcState> {
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
module
|
module
|
||||||
.register_method("System.GetUsers", system::get_users)
|
.register_method("system.get_users", system::get_users)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
module
|
module
|
||||||
.register_method("Network.GetStaticRoutes", network::get_static_routes)
|
.register_method("network.get_static_routes", network::get_static_routes)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
module
|
module
|
||||||
|
|
Loading…
Add table
Reference in a new issue