Skip to content

Commit

Permalink
Don't filter deleted so that we can get tombstones on the client (#2058)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickyrombo committed Nov 18, 2021
1 parent 814df70 commit a78dd74
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions discovery-provider/src/api/v1/tracks.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,7 @@ def get(self):
if slug and handle:
routes_parsed.append({"handle": handle, "slug": slug})

tracks = get_tracks(
{"routes": routes_parsed, "with_users": True, "filter_deleted": True}
)
tracks = get_tracks({"routes": routes_parsed, "with_users": True})
if not tracks:
if handle and slug:
abort_not_found(f"{handle}/{slug}", ns)
Expand Down Expand Up @@ -255,7 +253,6 @@ def get(self):
{
"routes": routes_parsed,
"with_users": True,
"filter_deleted": True,
"current_user_id": current_user_id,
}
)
Expand Down

0 comments on commit a78dd74

Please sign in to comment.