fix pos login bug (client not find)

This commit is contained in:
2025-08-25 08:29:16 +03:30
parent f271c908c9
commit 41dcf4f153

View File

@@ -32,9 +32,10 @@ class POSDeviceViewSet(viewsets.ModelViewSet, POSDeviceMixin):
@transaction.atomic
def login(self, request):
""" login of pos device """
# get device owner (organization)
organization = self.get_device_organization()
"""
# get device owner (organization)
organization = self.get_device_organization()
"""
# convert headers to dictionary
headers_data = {key: request.headers.get(key) for key in self.HEADERS}