fix(cli): activity content in faker

This commit is contained in:
əlemi 2025-01-15 02:28:51 +01:00
parent d1c43375cf
commit d20ce17277
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -106,6 +106,7 @@ pub async fn faker(ctx: upub::Context, count: i64) -> Result<(), sea_orm::DbErr>
actor: Set(format!("{domain}/actors/test")), actor: Set(format!("{domain}/actors/test")),
object: Set(Some(format!("{domain}/objects/{oid}"))), object: Set(Some(format!("{domain}/objects/{oid}"))),
target: Set(None), target: Set(None),
content: Set(None),
published: Set(chrono::Utc::now() - std::time::Duration::from_secs(60*i as u64)), published: Set(chrono::Utc::now() - std::time::Duration::from_secs(60*i as u64)),
to: Set(JsonVec(vec![apb::target::PUBLIC.to_string()])), to: Set(JsonVec(vec![apb::target::PUBLIC.to_string()])),
bto: Set(JsonVec::default()), bto: Set(JsonVec::default()),