Commit 896f648a authored by Ciaran Ainsworth's avatar Ciaran Ainsworth Committed by Georg Krause
Browse files

Undo changes to serializer

parent d1ad391c
......@@ -161,7 +161,6 @@ def serialize_artist_simple(artist):
"is_local": artist.is_local,
"content_category": artist.content_category,
if "description" in artist._state.fields_cache:
data["description"] = (
......@@ -175,8 +174,7 @@ def serialize_artist_simple(artist):
if artist.attachment_cover
else None
if artist.get_channel():
if "channel" in artist._state.fields_cache and artist.get_channel():
data["channel"] = str(
if getattr(artist, "_tracks_count", None) is not None:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment