mirror of
https://github.com/oxen-io/session-open-group-server.git
synced 2023-12-13 20:30:35 +01:00
Make comment work with auto-formatting
This commit is contained in:
parent
3f0613cc48
commit
8079ab47e4
1 changed files with 3 additions and 3 deletions
|
@ -48,9 +48,9 @@ async fn handle_decrypted_onion_request(
|
|||
let result = rpc::handle_rpc_call(rpc_call)
|
||||
.await
|
||||
// Turn any error that occurred into an HTTP response
|
||||
.or_else(super::errors::into_response)?; // Safe because at this point any error should be caught and turned into an HTTP response (i.e. an OK result)
|
||||
// Encrypt the HTTP response so that it's propagated back to the client that made
|
||||
// the onion request
|
||||
// Unwrapping is safe because at this point any error should be caught and turned into an HTTP response (i.e. an OK result)
|
||||
.or_else(super::errors::into_response)?;
|
||||
// Encrypt the HTTP response so that it's propagated back to the client that made the onion request
|
||||
return encrypt_response(result, symmetric_key).await;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue