fix: remove distinct

This commit is contained in:
əlemi 2025-01-15 01:27:10 +01:00
parent 1aa7216601
commit 5c01432a71
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 0 additions and 2 deletions

View file

@ -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())

View file

@ -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())