mirror of
https://github.com/zaphar/kitchen.git
synced 2025-07-24 19:59:50 -04:00
parent
29b92e5e12
commit
3fde0401b2
@ -172,7 +172,7 @@ impl HttpStore {
|
|||||||
id: S,
|
id: S,
|
||||||
) -> Result<Option<RecipeEntry>, Error> {
|
) -> Result<Option<RecipeEntry>, Error> {
|
||||||
let mut path = self.root.clone();
|
let mut path = self.root.clone();
|
||||||
path.push_str("/recipe");
|
path.push_str("/recipe/");
|
||||||
path.push_str(id.as_ref());
|
path.push_str(id.as_ref());
|
||||||
let resp = reqwasm::http::Request::get(&path).send().await?;
|
let resp = reqwasm::http::Request::get(&path).send().await?;
|
||||||
if resp.status() != 200 {
|
if resp.status() != 200 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user