fix pos login bug (client not find)
This commit is contained in:
@@ -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()
|
||||
"""
|
||||
|
||||
# convert headers to dictionary
|
||||
headers_data = {key: request.headers.get(key) for key in self.HEADERS}
|
||||
|
||||
Reference in New Issue
Block a user