Use absolute path for store

This commit is contained in:
Tony
2024-10-03 16:11:53 +08:00
parent 45b2af4cfe
commit d22de0257d
4 changed files with 34 additions and 29 deletions
+2
View File
@@ -31,8 +31,10 @@ mod error;
mod store;
#[derive(Serialize, Clone)]
#[serde(rename_all = "camelCase")]
struct ChangePayload<'a> {
path: &'a Path,
resource_id: Option<u32>,
key: &'a str,
value: &'a JsonValue,
}