allow closure handlers
This commit is contained in:
parent
1ac1f7fd24
commit
5106bbc70e
@ -173,7 +173,7 @@ fn handle_sync_api_request(
|
||||
tokio::spawn(task);
|
||||
*/
|
||||
|
||||
let res = (info.handler)(params, info)?;
|
||||
let res = (*info.handler)(params, info)?;
|
||||
|
||||
Ok(res)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user