fix(cli): activity content in faker
This commit is contained in:
parent
d1c43375cf
commit
d20ce17277
1 changed files with 1 additions and 0 deletions
|
@ -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()),
|
||||||
|
|
Loading…
Reference in a new issue