Error in recipe component fix

Fixes #15
This commit is contained in:
Jeremy Wall 2022-10-25 16:20:40 -04:00
parent 29b92e5e12
commit 3fde0401b2

View File

@ -172,7 +172,7 @@ impl HttpStore {
id: S,
) -> Result<Option<RecipeEntry>, Error> {
let mut path = self.root.clone();
path.push_str("/recipe");
path.push_str("/recipe/");
path.push_str(id.as_ref());
let resp = reqwasm::http::Request::get(&path).send().await?;
if resp.status() != 200 {