zhangdongming 3 tahun lalu
induk
melakukan
bb0e685fe0
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Controller/SensorGateway/GatewayDeviceController.py

+ 1 - 1
Controller/SensorGateway/GatewayDeviceController.py

@@ -173,7 +173,7 @@ class GatewayDeviceView(View):
                     gateway_sub_qs = GatewaySubDevice.objects.filter(id__in=ids)
                     if gateway_sub_qs.exists():
                         gateway_sub_qs.delete()
-            return response.json(0)
+                return response.json(0)
         except Exception as e:
             print(e)
             return response.json(177, repr(e))