Remove dbg! call in sse function

This commit is contained in:
Sijmen 2023-04-25 04:04:46 +02:00
parent 3d14b55fe4
commit a4e157dffa
Signed by: vijfhoek
GPG Key ID: DAF7821E067D9C48
1 changed files with 1 additions and 2 deletions

View File

@ -88,10 +88,9 @@ async fn sse(_req: tide::Request<()>, sender: tide::sse::Sender) -> tide::Result
let mut reader = BufReader::new(stream.clone());
// skip OK MPD line
// TODO check
// TODO check if it is indeed OK
let mut buffer = String::new();
reader.read_line(&mut buffer).await?;
dbg!(&buffer);
loop {
stream.write_all(b"idle playlist player\n").await?;