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