fix fetch
This commit is contained in:
parent
20448aa6b0
commit
3a6ead976f
@ -17,7 +17,7 @@ def fetch(request):
|
||||
return JsonResponse(
|
||||
data={
|
||||
'configs': {config.name: config.data for config in configs},
|
||||
'experiments': {experiment.name: experiment.condition for experiment in experiments}
|
||||
'experiments': {experiment.name: {'enabled': experiment.enabled, 'condition': experiment.condition} for experiment in experiments}
|
||||
},
|
||||
safe=False,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user