@@ -451,7 +451,7 @@ class SmartSwitchView(View):
for item in scene_qs:
res.append({
'id': item['id'],
- 'tasks': json.loads(item['task']),
+ 'tasks': json.loads(item['tasks']),
'status': item['status'],
'created_time': item['created_time']
})