allow closure handlers

This commit is contained in:
Dietmar Maurer 2018-11-15 17:47:59 +01:00
parent 1ac1f7fd24
commit 5106bbc70e

View File

@ -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)