diff --git a/discovery-provider/integration_tests/tasks/test_index_operations.py b/discovery-provider/integration_tests/tasks/test_index_operations.py index 31c6fe38e20..5c5f4114d01 100644 --- a/discovery-provider/integration_tests/tasks/test_index_operations.py +++ b/discovery-provider/integration_tests/tasks/test_index_operations.py @@ -105,6 +105,8 @@ def seed_contract_data(task, contracts, web3): "release_date": str(chance.date()), "file_type": "mp3", "track_segments": test_track_segments, + "is_premium": False, + "premium_conditions": None, } # dump metadata to file diff --git a/discovery-provider/integration_tests/tasks/test_index_tracks.py b/discovery-provider/integration_tests/tasks/test_index_tracks.py index b07a4a994d3..79fdf523b5a 100644 --- a/discovery-provider/integration_tests/tasks/test_index_tracks.py +++ b/discovery-provider/integration_tests/tasks/test_index_tracks.py @@ -138,6 +138,8 @@ def get_delete_track_event(): }, "track_id": 77955, "stem_of": None, + "is_premium": False, + "premium_conditions": None, }, multihash2: { "owner_id": 1, @@ -185,6 +187,8 @@ def get_delete_track_event(): }, "track_id": 77955, "stem_of": None, + "is_premium": False, + "premium_conditions": None, }, } ) diff --git a/discovery-provider/src/tasks/metadata.py b/discovery-provider/src/tasks/metadata.py index 2470f7225f8..1ce769cc934 100644 --- a/discovery-provider/src/tasks/metadata.py +++ b/discovery-provider/src/tasks/metadata.py @@ -26,6 +26,8 @@ "is_unlisted": False, "field_visibility": None, "stem_of": None, + "is_premium": False, + "premium_conditions": None, } # Required format for user metadata retrieved from IPFS