Skip to content

Commit

Permalink
Fix indentation (#914)
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondjacobson committed Oct 9, 2020
1 parent 15ecb3a commit ea1d12c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions discovery-provider/src/queries/get_tracks.py
Expand Up @@ -81,9 +81,9 @@ def get_unpopulated_track():
).order_by(
AggregatePlays.count.desc()
)
else:
whitelist_params = ['created_at', 'create_date', 'release_date', 'blocknumber', 'track_id']
base_query = parse_sort_param(base_query, Track, whitelist_params)
else:
whitelist_params = ['created_at', 'create_date', 'release_date', 'blocknumber', 'track_id']
base_query = parse_sort_param(base_query, Track, whitelist_params)
query_results = paginate_query(base_query).all()
tracks = helpers.query_result_to_list(query_results)

Expand Down

0 comments on commit ea1d12c

Please sign in to comment.