fix: endorsements

pull/56/head
db0 2023-10-15 20:26:26 +02:00
parent cd6375cd2c
commit 06843812c8
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ def get_all_endorsement_reasons_for_endorsed_id(endorsed_id, approving_ids):
def get_all_endorsements_from_approving_id(approving_ids):
query = Endorsement.query.filter(
Endorsement.approving_ids.in_(approving_ids)
Endorsement.approving_id.in_(approving_ids)
)
return query.all()