styles and logging

This commit is contained in:
ntr
2019-05-19 19:16:09 +10:00
parent 78013b83f7
commit bcf17cd19d
3 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -39,7 +39,6 @@ impl Rpc {
return Ok(RpcResponse { method: "pong".to_string(), params: RpcResult::Pong(()) });
}
info!("message method: {:?}", v.method);
let mut tx = db.transaction()?;
let account: Option<Account> = match v.token {
@@ -47,6 +46,8 @@ impl Rpc {
None => None,
};
info!("method={:?} method={:?}", v.method, account.name);
// check the method
// if no auth required
match v.method.as_ref() {