fix get_result for get correct document

This commit is contained in:
Cayo Puigdefabregas 2024-11-27 15:49:58 +01:00
parent 833c458840
commit e791d0c63c

View file

@ -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):