refactor params matching into url

This commit is contained in:
bitful-pannul 2023-10-19 22:59:17 +02:00 committed by dr-frmr
parent 1abf599c21
commit 086297f224
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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() {