Explorar el Código

修复添加网关设备bug

locky hace 2 años
padre
commit
fb846d5b17
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Controller/SensorGateway/EquipmentFamilyController.py

+ 1 - 1
Controller/SensorGateway/EquipmentFamilyController.py

@@ -213,7 +213,7 @@ class EquipmentFamilyView(View):
                         'nickname': nick_name,
                         'region_alexa': region_alexa,
                         'device_type': device_type,
-                        'td_country': country
+                        'tb_country': country
                     }
                     UidSetModel.objects.create(**uid_set_create_dict)
                 return response.json(0)