Forgot to add 'active' to fields.

This commit is contained in:
RecursiveGreen 2019-06-04 12:43:04 -04:00
parent c428a5a3e9
commit 5317b45748

View file

@ -44,7 +44,7 @@ class StoreSerializer(ModelSerializer):
class Meta: class Meta:
model = Store model = Store
fields = ('id', 'iri', 'file_size', 'length', 'mime_type') fields = ('id', 'active', 'iri', 'file_size', 'length', 'mime_type')
def get_active(self, obj): def get_active(self, obj):
'''Checks to see if this store is active for a song.''' '''Checks to see if this store is active for a song.'''