add org type to device login response - temporary livestock rancher statistic
This commit is contained in:
@@ -98,6 +98,7 @@ class POSDeviceViewSet(viewsets.ModelViewSet, POSDeviceMixin):
|
||||
'name': device_owner_org.name,
|
||||
'en_name': device_owner_org.en_name,
|
||||
'phone': device_owner_org.phone,
|
||||
'type': device_owner_org.type.name,
|
||||
}
|
||||
|
||||
return Response({
|
||||
|
||||
Reference in New Issue
Block a user