Cleaning
This commit is contained in:
parent
2fe706c5a9
commit
719cfafefc
3 changed files with 4 additions and 8 deletions
|
|
@ -153,12 +153,9 @@ pub fn setup_page(recipe_id: i64) {
|
|||
// Tags.
|
||||
{
|
||||
spawn_local(async move {
|
||||
let tags: ron_api::Tags = request::get(
|
||||
"recipe/tags",
|
||||
ron_api::Id { id: recipe_id }, /*[("id", &recipe_id.to_string())]*/
|
||||
)
|
||||
.await
|
||||
.unwrap();
|
||||
let tags: ron_api::Tags = request::get("recipe/tags", ron_api::Id { id: recipe_id })
|
||||
.await
|
||||
.unwrap();
|
||||
create_tag_elements(recipe_id, &tags.tags);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue