fix: remove distinct
This commit is contained in:
parent
1aa7216601
commit
5c01432a71
2 changed files with 0 additions and 2 deletions
|
@ -39,7 +39,6 @@ pub async fn page(
|
|||
|
||||
let (limit, offset) = page.pagination();
|
||||
let mut select = upub::model::like::Entity::find()
|
||||
.distinct()
|
||||
.join(sea_orm::JoinType::InnerJoin, upub::model::like::Relation::Activities.def())
|
||||
.join(sea_orm::JoinType::InnerJoin, upub::model::activity::Relation::Addressing.def())
|
||||
.filter(auth.filter_activities())
|
||||
|
|
|
@ -39,7 +39,6 @@ pub async fn page(
|
|||
|
||||
let (limit, offset) = page.pagination();
|
||||
let mut select = upub::model::announce::Entity::find()
|
||||
.distinct()
|
||||
.join(sea_orm::JoinType::InnerJoin, upub::model::announce::Relation::Activities.def())
|
||||
.join(sea_orm::JoinType::InnerJoin, upub::model::activity::Relation::Addressing.def())
|
||||
.filter(auth.filter_activities())
|
||||
|
|
Loading…
Reference in a new issue