Remove RawResponse::empty()

This commit is contained in:
Ville Penttinen 2019-02-27 12:57:59 +02:00
parent 33cebe1724
commit 6eb45c1c2b
2 changed files with 5 additions and 7 deletions

View file

@ -425,8 +425,11 @@ impl<'a> PoolDispatcher<'a> {
// ErrorCode::ContentModified as i32,
// "content modified".to_string(),
// )
RawResponse::empty(id)
RawResponse {
id,
result: Some(serde_json::to_value(&()).unwrap()),
error: None,
}
} else {
RawResponse::err(
id,