some apis of pos
This commit is contained in:
@@ -19,7 +19,7 @@ class POSDeviceMixin:
|
||||
|
||||
organization = pos_models.DeviceAssignment.objects.filter(
|
||||
device__serial=self.request.headers.get('device-serial') # noqa
|
||||
).first().organization
|
||||
).first().client.organization
|
||||
|
||||
return organization
|
||||
|
||||
|
||||
Reference in New Issue
Block a user