fix get_result for get correct document

This commit is contained in:
Cayo Puigdefabregas 2024-11-27 15:49:58 +01:00
parent f1d57ff618
commit 578fa73fe5

View file

@ -80,7 +80,8 @@ class PublicDeviceWebView(TemplateView):
return data
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)
def get_result(self):