mirror of
https://github.com/zaphar/kitchen.git
synced 2025-07-22 19:40:14 -04:00
parent
29b92e5e12
commit
3fde0401b2
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user