diff --git a/core/main/src/firebolt/handlers/device_rpc.rs b/core/main/src/firebolt/handlers/device_rpc.rs index c8be2a6b9..cb5bb60f0 100644 --- a/core/main/src/firebolt/handlers/device_rpc.rs +++ b/core/main/src/firebolt/handlers/device_rpc.rs @@ -762,7 +762,15 @@ impl DeviceServer for DeviceImpl { fn rpc_request_setter(response: Result) -> bool { if response.clone().is_ok() { - return true; + if let Ok(res) = response { + if let Some(ExtnResponse::Value(v)) = res.payload.extract::() { + if v.is_boolean() { + if let Some(b) = v.as_bool() { + return b; + } + } + } + } } false }