Doc + formatting
This commit is contained in:
parent
9ed5a04e22
commit
995f77d1ef
9 changed files with 39 additions and 30 deletions
|
|
@ -1,7 +1,7 @@
|
|||
use chrono::{Datelike, Days, Months, NaiveDate};
|
||||
use common::ron_api;
|
||||
use gloo::storage::{LocalStorage, Storage};
|
||||
use ron::ser::{to_string_pretty, PrettyConfig};
|
||||
use ron::ser::{PrettyConfig, to_string_pretty};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use thiserror::Error;
|
||||
|
||||
|
|
@ -37,7 +37,7 @@ impl ShoppingList {
|
|||
if self.is_local {
|
||||
todo!();
|
||||
} else {
|
||||
request::put(
|
||||
request::patch(
|
||||
"shopping_list/set_checked",
|
||||
ron_api::Value {
|
||||
id: item_id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue