Skip to content

Commit

Permalink
Fix free tracks not being allowed to be set as downloadable (#10414)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickyrombo authored Nov 9, 2024
1 parent b4864ab commit e58d764
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ def populate_track_record_metadata(track_record: Track, track_metadata, handle,
track_record.owner_id, track_metadata["download_conditions"]
)
track_record.is_downloadable = (
track_metadata["download_conditions"] is not None
track_record.is_downloadable
or track_metadata["download_conditions"] is not None
)
elif key == "allowed_api_keys":
if key in track_metadata:
Expand Down

0 comments on commit e58d764

Please sign in to comment.