add device id to stake holder serialzier
This commit is contained in:
@@ -86,6 +86,7 @@ class StakeHoldersSerializer(ModelSerializer):
|
||||
).data
|
||||
|
||||
representation['device'] = instance.device.device_identity
|
||||
representation['device_id'] = instance.device.id
|
||||
|
||||
representation['organization'] = {
|
||||
'name': instance.organization.name,
|
||||
|
||||
Reference in New Issue
Block a user