This commit is contained in:
parent
667c9193e8
commit
edad566156
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ pub async fn user_all_active_derank_entries(db: &DatabaseConnection, user_id: St
|
|||
if list.active {
|
||||
// should always be true but just being safe
|
||||
derank_entries.extend(derank_list_entry::Entity::find()
|
||||
.filter(derank_list_entry::Column::DerankListId.eq(&list.id))
|
||||
.filter(derank_list_entry::Column::DerankListId.eq(&list.derank_list_id))
|
||||
.all(db).await.map_err(|e| {
|
||||
error!("DATABASE ERROR WHILE USERALLDERANKENTRIES (get entries): {e}");
|
||||
})?.into_iter().map(|v| {
|
||||
|
|
Loading…
Add table
Reference in a new issue