Update src/lib.rs

This commit is contained in:
Tony Giorgio
2023-05-26 11:14:54 -05:00
committed by GitHub
parent 81d0b7b115
commit f5b5fefb7e

View File

@@ -357,7 +357,7 @@ pub async fn main(req: Request, env: Env, _ctx: Context) -> Result<Response> {
.expect("failed to send response");
}
console_log!("ignoring nostr subscription request");
console_log!("end of subscription request");
let relay_msg = RelayMessage::new_eose(subscription_id);
server
.send_with_str(&relay_msg.as_json())