From 3fde0401b2c9f5552e1518647093f165caef8a45 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Tue, 25 Oct 2022 16:20:40 -0400 Subject: [PATCH] Error in recipe component fix Fixes #15 --- web/src/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/api.rs b/web/src/api.rs index 17826b6..32cceaa 100644 --- a/web/src/api.rs +++ b/web/src/api.rs @@ -172,7 +172,7 @@ impl HttpStore { id: S, ) -> Result, 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 {