Doc + formatting

This commit is contained in:
Greg Burri 2025-03-18 20:03:25 +01:00
parent 9ed5a04e22
commit 995f77d1ef
9 changed files with 39 additions and 30 deletions

View file

@ -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,