Subscriptions working

This commit is contained in:
2021-06-05 14:17:23 +02:00
parent a96cbdc059
commit 473b553662
12 changed files with 306 additions and 34 deletions

View File

@ -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")
}
}