Add some HTTP tests for recipe fields and recipe tags
This commit is contained in:
parent
9c2d89e981
commit
e4ec80e118
6 changed files with 179 additions and 11 deletions
|
|
@ -231,7 +231,7 @@ pub fn setup_page(recipe_id: i64) {
|
|||
{
|
||||
let is_public: HtmlInputElement = by_id("input-is-public");
|
||||
EventListener::new(&is_public.clone(), "input", move |_event| {
|
||||
let body = ron_api::SetIsPublic {
|
||||
let body = ron_api::SetRecipeIsPublic {
|
||||
recipe_id,
|
||||
is_public: is_public.checked(),
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue