Skip to content

Commit

Permalink
this?
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Mar 1, 2025
1 parent 52c44d1 commit 711cb20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def get_recordings_counts(self, playlist: SessionRecordingPlaylist) -> dict[str,

playlist_items: QuerySet[SessionRecordingPlaylistItem] = playlist.playlist_items.filter(deleted=False)
watched_playlist_items = current_user_viewed(
playlist.playlist_items.values_list("session_id", flat=True), user, team
playlist.playlist_items.values_list("session_id", flat=True).list(), user, team

Check failure on line 152 in posthog/session_recordings/session_recording_playlist_api.py

View workflow job for this annotation

GitHub Actions / Python code quality checks

"QuerySet[SessionRecordingPlaylistItem, str | None]" has no attribute "list"
)
recordings_counts["collection"] = {
"count": playlist_items.count() if playlist_items.count() > 0 else None,
Expand Down

0 comments on commit 711cb20

Please sign in to comment.