add org type to device login response - temporary livestock rancher statistic

This commit is contained in:
2025-09-29 13:37:48 +03:30
parent f714d86ea5
commit 2f350c0dcf
3 changed files with 32 additions and 13 deletions

View File

@@ -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({