Closes #4994: Add cable attribute to PowerFeed API serializer

This commit is contained in:
Jeremy Stretch
2020-08-13 10:30:28 -04:00
parent b405e8294b
commit ed0e212ce0
4 changed files with 6 additions and 3 deletions

View File

@@ -355,4 +355,4 @@ class NestedPowerFeedSerializer(WritableNestedSerializer):
class Meta:
model = models.PowerFeed
fields = ['id', 'url', 'name']
fields = ['id', 'url', 'name', 'cable']