chore: rename struct property

This commit is contained in:
appflowy
2022-02-24 21:49:18 +08:00
parent 93695dc4be
commit ed9a48fc1c
65 changed files with 965 additions and 1512 deletions

View File

@ -14,13 +14,7 @@ where
fn into_bytes(self) -> Result<Bytes, DispatchError> {
match self.try_into() {
Ok(data) => Ok(data),
Err(e) => {
// let system_err: DispatchError = InternalError::new(format!("{:?}",
// e)).into(); system_err.into()
// Err(format!("{:?}", e))
Err(InternalError::ProtobufError(format!("{:?}", e)).into())
}
Err(e) => Err(InternalError::ProtobufError(format!("{:?}", e)).into()),
}
}
}