fix get_result for get correct document
This commit is contained in:
parent
833c458840
commit
e791d0c63c
|
@ -80,7 +80,8 @@ class PublicDeviceWebView(TemplateView):
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def get_json_response(self):
|
def get_json_response(self):
|
||||||
device_data = self.get_device_data()
|
device_data = self.get_result()
|
||||||
|
# device_data = self.get_device_data()
|
||||||
return JsonResponse(device_data)
|
return JsonResponse(device_data)
|
||||||
|
|
||||||
def get_result(self):
|
def get_result(self):
|
||||||
|
|
Loading…
Reference in a new issue