Forgot to add 'active' to fields.
This commit is contained in:
parent
c428a5a3e9
commit
5317b45748
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class StoreSerializer(ModelSerializer):
|
|||
|
||||
class Meta:
|
||||
model = Store
|
||||
fields = ('id', 'iri', 'file_size', 'length', 'mime_type')
|
||||
fields = ('id', 'active', 'iri', 'file_size', 'length', 'mime_type')
|
||||
|
||||
def get_active(self, obj):
|
||||
'''Checks to see if this store is active for a song.'''
|
||||
|
|
Loading…
Reference in a new issue