fix: activity with embedded object, not user...

This commit is contained in:
əlemi 2024-03-21 01:24:55 +01:00
parent 198983fbfe
commit 399061eff0
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -44,7 +44,7 @@ pub async fn outbox(
match activity::Entity::find()
.filter(Condition::all().add(activity::Column::Published.lt(before)))
.find_also_related(user::Entity)
.find_also_related(object::Entity)
.order_by(activity::Column::Published, Order::Desc)
.limit(20) // TODO allow customizing, with boundaries
.all(ctx.db()).await