mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-22 16:11:38 +03:00
refactor params matching into url
This commit is contained in:
parent
1abf599c21
commit
086297f224
@ -65,4 +65,4 @@ warp = "0.3.5"
|
||||
wasmtime = "12.0.1"
|
||||
wasmtime-wasi = "12.0.1"
|
||||
zip = "0.6"
|
||||
base64 = "0.13"
|
||||
base64 = "0.13"
|
||||
|
@ -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