Skip to content

Commit

Permalink
Fix latest track default args (#4428)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacsolo committed Dec 5, 2022
1 parent 0734820 commit f0ffb39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion discovery-provider/src/api/v1/tracks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,8 @@ class LatestTrack(Resource):
description="""Gets the most recent track on Audius""",
)
def get(self):
latest = get_latest_entities("track")
args = {"limit": 1, "offset": 0}
latest = get_latest_entities("track", args)
return success_response(latest)


Expand Down

0 comments on commit f0ffb39

Please sign in to comment.