Subscriptions working
This commit is contained in:
@ -55,7 +55,7 @@ async fn endpoint_handler(req: &mut Request<Body>, endpoint: String) -> Result<O
|
||||
data,
|
||||
};
|
||||
|
||||
Ok(Some(usimp::endpoint(&input).await?))
|
||||
Ok(Some(usimp::endpoint(&input, None).await?))
|
||||
}
|
||||
|
||||
pub async fn handler(mut req: Request<Body>) -> Result<Response<Body>, hyper::Error> {
|
||||
@ -135,7 +135,7 @@ pub async fn handler(mut req: Request<Body>) -> Result<Response<Body>, hyper::Er
|
||||
|
||||
match val {
|
||||
Ok(val) => Ok(val),
|
||||
Err(error) => {
|
||||
Err(_error) => {
|
||||
todo!("help")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user