mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-23 00:21:38 +03:00
refactor params matching into url
This commit is contained in:
parent
1abf599c21
commit
086297f224
@ -239,7 +239,7 @@ async fn http_handle_messages(
|
||||
let mut senders = http_response_senders.lock().await;
|
||||
match senders.remove(&id) {
|
||||
// if no corresponding entry, nowhere to send response
|
||||
None => {}
|
||||
None => { }
|
||||
Some((path, channel)) => {
|
||||
// if path is /rpc/message, return accordingly with base64 encoded payload
|
||||
if path == "/rpc:sys:uqbar/message".to_string() {
|
||||
|
Loading…
Reference in New Issue
Block a user