fix: activity with embedded object, not user...
This commit is contained in:
parent
198983fbfe
commit
399061eff0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue