Skip to content

Commit

Permalink
records: fix unpublished typo
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippKilian committed Sep 28, 2023
1 parent 2c8d607 commit 0213595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion b3lb/rest/classes/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def filter_recordings(self, meeting_id: str = "", recording_id: str = "") -> Que
if self.state == "published":
query &= Q(published=True)
elif self.state == "unpublished":
query &= Q(published=True)
query &= Q(published=False)

return Record.objects.filter(query)

Expand Down

0 comments on commit 0213595

Please sign in to comment.