diff --git a/upub/core/src/model/actor.rs b/upub/core/src/model/actor.rs index 93d0902..a36e14a 100644 --- a/upub/core/src/model/actor.rs +++ b/upub/core/src/model/actor.rs @@ -7,7 +7,7 @@ use crate::ext::{JsonVec, TypeName}; #[derive(Clone, Debug, PartialEq, Eq, serde::Serialize, serde::Deserialize)] pub struct Field { pub name: String, - pub content: String, + pub value: String, pub verified_at: Option, #[serde(rename = "type")] @@ -24,7 +24,7 @@ impl From for Field { fn from(value: T) -> Self { Field { name: value.name().str().unwrap_or_default(), - content: value.content().str().unwrap_or_default(), + value: value.content().str().unwrap_or_default(), field_type: "PropertyValue".to_string(), // TODO can we try parsing this instead?? verified_at: None, // TODO where does verified_at come from? extend apb maybe }